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
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--layer | string | yes | — | Layer name from discover (e.g., "root", "app-admin"). The keys are removed from ALL locale files in this layer. |
--keys | string | yes | — | Dot-separated key paths to remove from every locale file in the layer. Example: "common.actions.delete", "auth.errors.expired". Comma-separated. |
--dryRun | boolean | no | false | Return a preview of what would be removed without writing any files. Default: false. |