Skip to content

CLI `schema`

CommandPurposeImportant options / arguments
hike schema listList the available schema types.No extra options.
hike schema showPrint a JSON schema to stdout.`<config
hike schema validateValidate a file against one of Hike’s schema types.`<file> —type config
hike schema exportExport all supported schemas as JSON files.--out PATH
hike schema pathPrint the default export path for a schema type.`<config
Terminal window
hike schema list
hike schema show config
hike schema validate --type config hike.config.yaml
hike schema export --out .schemas

Schema support is especially useful for editor integration and CI validation of configuration files.