@kopynator/cli
v1.2.0
Published
CLI tool for Kopynator - The i18n management solution
Maintainers
Readme
@kopynator/cli
The official Command Line Interface for Kopynator. Manage your internationalization workflow directly from your terminal.
Installation
You don't need to install it globally! We recommend using npx for the latest version:
npx -y @kopynator/cli <command>If you prefer a global installation:
npm install -g @kopynator/cliCommands
1. Initialize
Sets up Kopynator in your project. Creates the configuration file and guides you verify the setup.
npx -y @kopynator/cli init2. Check / Validate
Validates your local JSON translation files for syntax errors. Useful for CI/CD pipelines.
npx -y @kopynator/cli check3. Sync (Premium)
Synchronizes your local keys with the Kopynator Cloud. Uploads new keys and downloads approved translations.
npx -y @kopynator/cli syncConfiguration
The init command creates a kopynator.config.json file in your root:
{
"apiKey": "YOUR_API_KEY",
"defaultLocale": "en",
"languages": ["en", "es"],
"mode": "local"
}