CLI Commands
find-duplicates
Find keys defined in both a shared layer and a consuming child layer (with divergence detection); --byValue also finds different keys carrying the same value
Synopsis
the-i18n-cli find-duplicates
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--locale | string | no | — | Locale to compare values in (default: project default) |
--byValue | boolean | no | false | Also group different keys carrying the same value, ranked by what to do about each group |
--minValueLength | string | no | — | Shortest value worth grouping with --byValue (default: 4) — below it, repetition is usually legitimate |
--outputFile | string | no | — | Write full output to this file path and return only a summary (useful for large outputs) |
Every command accepts the shared flags and sets one of the exit codes documented on the overview.