# axx validate

> Check feature files without running them: syntax, undefined and ambiguous steps

Source: https://axx.nimbusxr.us/references/cli/axx-validate/

Parse feature files and match every step against the available step
definitions, without starting applications or executing anything.

Also prints the warnings of axx lint's feature checks (SQL selection and
trigger ordinals that cannot work); they do not change the exit code.

Exit codes: 0 valid, 2 syntax/config error, 3 undefined or ambiguous steps.

```text
Usage:
  axx validate [paths...] [flags]

Flags:
  -D, --define stringArray   set a property for ${sys:name}, e.g. -D local.host=docker
  -h, --help                 help for validate
      --profile string       apply profiles.<name> / axx.<name>.yaml (env: AXX_PROFILE)

Global Flags:
      --compact         print only what matters (auto-enabled for coding agents)
  -c, --config string   path to axx.yaml (default: search upward from the working directory)
      --json            emit machine-readable JSON (stable envelope)
      --no-color        disable colored output
  -v, --verbose count   increase log verbosity (-v, -vv)
```
