Skip to content

Inspection Tool

The Inspection Tool is used to inspect the structure of .cc.json files. It enables you to:

  • Print the hierarchy of the project: Prints the hierarchy in a human-readable format.
ParametersDescription
FILEfile to inspect
-h, --helpDisplays help and exits
-l, --levels, -d, --depth=<numberOfLevels>show first x layers of project hierarchy (if not specified, prints the first level)
Usage: ccsh inspect [-l=<numberOfLevels>] [FILE]
ccsh inspect --levels=2 foo.cc.json

Instead of providing a cc.json file as input, a project can also be piped to the filter:

cat demo.cc.json | sh ccsh inspect