Expand description
JSON Schema generation for CLI output types.
This module provides schema generation for all commands that support –json output.
Schemas are generated using the schemars crate and can be exported via the schema subcommand.
Functions§
- all_
schemas - Returns all JSON schemas for commands that support –json output. Uses BTreeMap for deterministic ordering (important for diffable output).
- get_
schema - Generate a single schema by command name.
- schema_
names - List all available schema names.