@simplelocalize/cli
v2.10.0
Published
SimpleLocalize CLI for NPM
Downloads
5,335
Readme
SimpleLocalize CLI via npm
The main goal of this project is to give fronted developers an easier way to use SimpleLocalize CLI in their workflows.
Installation
npm install @simplelocalize/cliAfter installing the package, it should automatically choose the right binary for
your system and install it into node_modules/.bin directory, to make it available for your
scripts in package.json.
{
"name": "My project",
"version": "1.0.0",
"private": true,
"dependencies": {
"@simplelocalize/cli": "^2.9.2",
},
"scripts": {
"start": "react-scripts start",
"sl:download": "simplelocalize download",
"sl:upload": "simplelocalize upload",
"sl:autotranslate": "simplelocalize auto-translate"
},
}Learn more about SimpleLocalize CLI commands
NPX Support
You can also use npx to run SimpleLocalize CLI commands without installing the package
globally:
npx @simplelocalize/cli downloadVersioning explanation
@simplelocalize/cli versioning is synced with https://github.com/simplelocalize/simplelocalize-cli versioning.
@simplelocalize/[email protected] will install SimpleLocalize CLI 2.9.x and this npm package version is 1.
@simplelocalize/[email protected] will install SimpleLocalize CLI 2.9.x and this npm package version is 2.
By using this versioning scheme, we can release new versions of this npm package without changing the SimpleLocalize CLI version, for example, to fix bugs in this package, and follow semantic versioning rules.
