Inspection Tool
Inspection
Section titled “Inspection”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.
Usage and Parameters
Section titled “Usage and Parameters”| Parameters | Description |
|---|---|
FILE | file to inspect |
-h, --help | Displays 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]Examples
Section titled “Examples”ccsh inspect --levels=2 foo.cc.jsonPiped input
Section titled “Piped input”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