Registry / devops / stringify-cli

stringify-cli

JSON →
library1.0.4jsnpmunverified

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.

devopscommunication
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Installs the Stringify CLI globally, shows help, and demonstrates basic configuration and project initialization/sync workflows.

npm install -g stringify-cli stringify --help # Configure the CLI (will guide through API token acquisition) stringify config # Initialize a project in the current directory, linking to a Stringify project # This creates a stringify.config.json file stringify init # Synchronize locale files (pulls from server, then pushes local changes) # Use process.env.STRINGIFY_API_TOKEN in CI environments STRINGIFY_API_TOKEN="your_api_token" stringify sync
stringify --version
Debug
Known footguns
gotchaThe `stringify pull` command overwrites existing locale files on your local system without confirmation. Any unsynchronized local changes in those files will be lost.
gotchaDuring `stringify push`, conflicts can occur if another user has modified the same string after your last pull. The CLI will prompt for interactive conflict resolution, which can block automated workflows.
gotchaAn API token is required for the Stringify CLI to communicate with the server. This can be configured interactively or provided via an environment variable.
gotchaThe CLI is only compatible with Node.js version 10 or higher. Using older versions will lead to installation or runtime errors.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
11 hits · last 30 days
ahrefsbot
4
gptbot
3
amazonbot
3
script
1
Resources