0.0.2 • Published 5 years ago

@drecom/asset-graph-mediator-cli v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

asset-graph-mediator-cli

This module parses the scene-graph data group and generates asset-graph-schema.

Usage

$ agmed
Usage: agmed [options]

Options:
  -r --runtime <value>                  <required> runtime identifier string
  -a --asset-root <value>               <required> export project asset root directory path
  -o --out-dir [value]                  [optional] output directory path (default: "asset-graph")
  --ag-file --asset-graph-file [value]  [optional] asset-graph file name
  -h, --help                            output usage information

  e.g:
    agmed -r cc2 -a out/CocosCreatorProject/assets/ -o out/CocosCreatorProject --ag-file CocosCreatorProject.ag.json
$ agquery
Usage: agquery [options]

Options:
  -a --asset-graph-path <value>         <required> analyze target asset-graph file path

  e.g:
    agquery -a ./example/out/CocosCreatorProject/CocosCreatorProject.ag.json