polyglot-cli
Version:
Infinum Polyglot CLI
92 lines (49 loc) • 1.21 kB
Markdown
# Polyglot JS CLI
JavaScript Team Polyglot CLI
## Requirements
Node 6+
## Instalation
npm install -g polyglot-cli
## Usage
### To login
polyglot login
or you can set the `POLYGLOT_AUTH_TOKEN`.
### To initialize the project
polyglot init
### To pull the translations
polyglot pull
## Requirements
* Node v6+
## Changelog
### 1.1.0
* Support for nested pulling
* Sorted pulled translations
* Pretty-print JSON
### 1.2.0
* `polyglot status`
* `lastUpdatedAt` property in the project file
* Updated API endpoint for production
#### 1.2.1
* Logout bugfix
* Added some debug info
### 1.3.0
* Translation import
#### 1.3.1
* Fix Node 6 issue
### 1.4.0
* Support for language only format
* Create the folder structure automatically
#### 1.4.1
* Fix locale format initialization
#### 1.4.2
* Fix nested translation import issue
#### 1.4.3
* Implemented object denesting algorithm
#### 1.4.4
* Fix nested import issue
### 1.5.0
* Add support for auth via env variable
### 1.6.0
* Add support for specifying the project configuration path
### 1.7.0
* Add `skipConfigUpdates` flag to config - if set to true, it won't update the `lastUpdatedAt` property in config