Skip to content

wtm schema dump

Write embedded schemas to /schemas/ (or the global config's schemas/ with --global)

Extract every JSON Schema bundled with this wtm binary so editors can resolve the #:schema directives in your TOML files. Project schemas land in /wtm/schemas/. Use --global to write the global schema next to the global wtm config, whose path wtm run proxy status prints.

wtm schema dump [flags]
# The project schemas, beside config.toml and run.toml
wtm schema dump
# The global config's schema
wtm schema dump --global
--global Write the global config schema instead of the project ones
-h, --help help for dump
-q, --quiet Silence human output; errors and the exit code are unaffected, and --output json still emits its document
  • wtm schema - Inspect or extract bundled JSON Schemas