Skip to content

kits

Read-only audit reports for CI and maintainer workflows. Uses the same project discovery as other commands — global -c/--config only (no --cwd).

SubcommandRole
kits dynamicList non-literal translation call sites (runDynamic).
kits identicalSource-identical leaf paths per locale file.
kits honestCombined validate + dynamic + quality + review signal.
kits baselineSnapshot counts with optional baseline delta.
kits prPR-style markdown summary for CI comments.
bash
i18nprune kits --help
i18nprune help kits dynamic

Global flags

FlagShortNotes
--json-jStandard CliJsonEnvelope on stdout (pretty by default; -jp false for minified).
--json-pretty-jpPretty-print when -j is on (default true).
--top-TList window for terminal and -sb saves.
--full-FFull list mode (bounded by core cap).

Project root comes from your config file path — same as validate, quality, etc.

Shared kits flags

FlagShortDescription
--target-tOptional locale filter
--out-oWrite output to file
--fail-on-fonPolicy gates: issues, dynamic, missing, source-identical
--max-dynamic-mxdyExit 2 when dynamic site count exceeds n
--baseline-bCompare against a saved JSON baseline (project-relative)
--save-baseline-sbSave terminal-matching report (.md default; -j.json)

Baseline paths are relative to the project root (not a global kit directory).

Dynamic-key honesty

Kits never imply that validate ok means every dynamic prefix has locale strings. See dynamic key sites.

Terminal output

Markdown subcommands (kits pr, kits honest, kits baseline, …) print layered contrast when stdout is a TTY:

Line kindTreatment
## / ### headingsPrimary (full brightness)
Bullet metrics (- Missing …)Primary
Blockquotes >Dim
Docs: / Note: footnotesDim
Dynamic sample rows[kind] primary; path/preview suffix dim

--out path.md and --json stay plain markdown/JSON with no ANSI. Use -o for CI artifacts; use terminal output for local triage.

Examples

bash
i18nprune kits dynamic -F -j
i18nprune kits honest --strict -sb .i18n-baseline.md
i18nprune kits pr --focus settings -T 10 -o /tmp/pr.md

See also