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