intlayer-cli
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. |
References
Concepts
- Build
- CI
- CLI Overview
- Configuration
- Debug
- Doc Review
- Doc Translate
- Editor
- Fill
- Init
- List
- List Projects
- Live
- Login
- Pull
- Push
- SDK
- Test
- Extract
- Version
- Watch
Packages
More from aymericzip/intlayer-skills
intlayer-react
Integrates Intlayer internationalization with React component. Use when the user asks to "setup React i18n", create a new translated component, use the "useIntlayer" hook, or configure providers.
24intlayer-config
Configures Intlayer project settings and environment variables. Use when the user asks to "setup intlayer.config", "configure locales", or "customize Intlayer settings".
21intlayer-content
Define rich content structures using Intlayer content nodes. Use when the user asks to "create translations", "handle pluralization", "use markdown in content", or implement "conditional content".
21intlayer-usage
Provides general guidelines for using Intlayer in any project. Use when the user asks to "get started with Intlayer", "declare content files", or understand the "project structure" for internationalization.
18intlayer-compiler
Intlayer Compiler setup and usage. Configures automatic content extraction for your components without the need to define .content files manually.
15intlayer-next-js
Integrates Intlayer internationalization with Next.js App Router and Pages Router. Use when the user asks to "setup Next.js i18n", use "useIntlayer" in Server Components, or handle client-side translations in Next.js.
14