CLI Commands
rename
Rename/move a translation key across all locale files
Synopsis
the-i18n-cli rename --layer <layer> --oldKey <oldKey> --newKey <newKey>
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--layer | string | yes | — | Layer name |
--oldKey | string | yes | — | Current key path |
--newKey | string | yes | — | New key path |
--dryRun | boolean | no | false | Preview changes without writing |
Every command accepts the shared flags and sets one of the exit codes documented on the overview.