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

FlagTypeRequiredDefaultDescription
--localestringnoLocale to compare values in (default: project default)
--byValuebooleannofalseAlso group different keys carrying the same value, ranked by what to do about each group
--minValueLengthstringnoShortest value worth grouping with --byValue (default: 4) — below it, repetition is usually legitimate
--outputFilestringnoWrite 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.

Copyright © 2026