CLI Commands

remove

Remove one or more translation keys from ALL locale files in the given layer.

Synopsis

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

Flags

FlagTypeRequiredDefaultDescription
--layerstringyes—Layer name from discover (e.g., "root", "app-admin"). The keys are removed from ALL locale files in this layer.
--keysstringyes—Dot-separated key paths to remove from every locale file in the layer. Example: "common.actions.delete", "auth.errors.expired". Comma-separated.
--dryRunbooleannofalseReturn a preview of what would be removed without writing any files. Default: false.
Copyright © 2026