CLI Commands
check
Find keys referenced in code but defined in no consumed locale layer (they render as raw keys); findings trip an always-on gate and exit 2, distinct from exit 1 for a run that failed
Synopsis
the-i18n-cli check
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--locale | string | no | — | Reference locale to resolve definitions in (default: project default) |
--outputFile | string | no | — | Write full output to this file path and return only a summary (useful for large outputs) |
--codequalityOutput | string | no | — | Also write the findings as a GitLab Code Quality (CodeClimate) JSON report to this file path |
Every command accepts the shared flags and sets one of the exit codes documented on the overview.