Skip to content

simplelocalize/simplelocalize-cli-npm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/cli

After 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.10.0",
  },
  "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 download

Versioning 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.

About

Install SimpleLocalize CLI via npm for your project

Resources

Stars

Watchers

Forks

Packages

No packages published