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

FlagTypeRequiredDefaultDescription
--localestringnoReference locale to resolve definitions in (default: project default)
--outputFilestringnoWrite full output to this file path and return only a summary (useful for large outputs)
--codequalityOutputstringnoAlso 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.

Copyright © 2026