The Stringify CLI (Command Line Interface) is a specialized tool for managing localization strings by interacting directly with the Stringify platform. It enables developers to download locale files from and upload changes to the Stringify server via the command line. Currently at stable version 1.0.4, it facilitates key localization workflows through commands for initial configuration, project setup, and synchronization of translation files. Its primary differentiator is its tight integration with the Stringify web interface, allowing for streamlined i18n operations using an API token for secure authentication in both development and CI/CD environments. The tool is designed to simplify the process of keeping local translation files in sync with a centralized localization management system.
npm install stringify-cliNo compatibility data collected yet for this library.
Installs the Stringify CLI globally, shows help, and demonstrates basic configuration and project initialization/sync workflows.
Always run `stringify push` or `stringify sync` before `stringify pull` to ensure local changes are uploaded, or commit changes to version control.
For CI/CD environments, ensure a consistent workflow where pushes are atomic, or use `--force` (with caution) if automated conflict resolution is desired (though `--force` behavior for conflicts isn't explicitly detailed, it's generally risky).
Run `stringify config` to configure the CLI interactively and obtain an API token, or set the `STRINGIFY_API_TOKEN` environment variable, especially for CI/CD.
Ensure Node.js version 10 or greater is installed on your system. Use a tool like `nvm` to manage Node.js versions if necessary.
Run `npm install -g stringify-cli` to install it globally. If the problem persists, check your system's PATH environment variable.
Execute `stringify config` and follow the interactive prompts to set up your API token, or set the `STRINGIFY_API_TOKEN` environment variable before running commands.
Navigate to your project's root directory and run `stringify init` to link it with a project on the Stringify platform and create the configuration file.
No dependency data recorded yet.