usage generate json
- Usage:
usage generate json [FLAGS] - Effect: read-only
- Source code:
cli/src/cli/generate/json.rs
Print a usage spec as JSON
The same document the KDL describes, with included files merged and defaults filled in, for a tool that would rather not parse KDL itself.
Flags
-f --file <FILE>— A usage spec file, or a script with a usage shebang; "-" reads stdin--spec <SPEC>— The spec itself, as a string, instead of a file--view <VIEW>— Render one spec-declared executable view-h --help— Print help