Manages Intlayer dictionaries and configuration via the Command Line Interface. Use when the user asks to "audit translations", "build dictionaries", "sync content", or run "intlayer" commands.
The intlayer-cli package provides a set of commands to manage Intlayer dictionaries and configuration.
npm install intlayer-cli
| Command | Description |
|---|---|
npx intlayer build | Builds the Intlayer dictionaries. |
npx intlayer audit | Audits the dictionaries for missing translations. |
npx intlayer live-sync | Synchronizes dictionaries in real-time. |
npx intlayer pull | Pulls dictionaries from a remote source (e.g., Intlayer CMS). |
npx intlayer push | Pushes dictionaries to a remote source. |
npx intlayer test |
| Runs tests on dictionaries. |
npx intlayer extract | Extract content from component to create dictionary. |