Intlayer CLI
The intlayer-cli package provides a set of commands to manage Intlayer dictionaries and configuration.
Installation
npm install intlayer-cli
Main CLI Commands
| 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. |
| npx intlayer upgrade | Upgrades every Intlayer package of the repo to latest. |
References
Commands
- Build Dictionaries
- Manage Configuration
- Debug Intlayer Command
- Review Document
- Translate Document
- Editor Commands
- Extract strings
- Fill Dictionaries
- CLI Overview
- Init Infra
- Initialize Intlayer
- List Content Declaration Files
- List Intlayer Projects
- Live Sync Commands
- Login
- Pull Dictionaries
- Push Dictionaries
- Scan Website
- CLI SDK
- Standalone Bundle
- Test Missing Translations
- Upgrade Intlayer Packages
- Check CLI Version
- Watch Dictionaries
Scan to join WeChat group