Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.6 KB

File metadata and controls

53 lines (37 loc) · 1.6 KB

azldev config generate-schema

Generates JSON schema for validating .toml config files

Synopsis

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]

Examples

  # Print the schema to stdout
  azldev config generate-schema

  # Save the schema to a file
  azldev config generate-schema > schemas/azldev.schema.json

Options

  -h, --help   help for generate-schema

Options inherited from parent commands

  -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

SEE ALSO