CLI Commands

remove

Remove translation keys from all locale files in a layer

Synopsis

the-i18n-cli remove --layer <layer> --keys <keys>

Flags

FlagTypeRequiredDefaultDescription
--layerstringyesLayer name
--keysstringyesComma-separated key paths to remove
--dryRunbooleannofalsePreview changes without writing

Every command accepts the shared flags and sets one of the exit codes documented on the overview.

Copyright © 2026