Generates JSON schema for validating .toml config files
Generate a JSON schema for the azldev TOML configuration file format.
The schema is printed to stdout and can be saved to a file for use with editors or linters that support JSON Schema validation of TOML files.
azldev config generate-schema [flags]
# Print the schema to stdout
azldev config generate-schema
# Save the schema to a file
azldev config generate-schema > schemas/azldev.schema.json
-h, --help help for generate-schema
-y, --accept-all accept all prompts
--color mode output colorization mode {always, auto, never} (default auto)
--config-file stringArray additional TOML config file(s) to merge (may be repeated)
-n, --dry-run dry run only (do not take action)
--network-retries int maximum number of attempts for network operations (minimum 1) (default 3)
--no-default-config disable default configuration
-O, --output-format fmt output format {csv, json, markdown, table} (default table)
--permissive-config do not fail on unknown fields in TOML config files
-C, --project string path to Azure Linux project
-q, --quiet only enable minimal output
-v, --verbose enable verbose output
- azldev config - Manage tool configuration