phraseapp-cli for https://phrase.com/
Add to package.json
"phraseapp-cli": "kununu/phraseapp-cli"
$ npm i
$ npm link
You have to use the .phraseapp.json
to store repeating command line arguments like phraseapp-config
For example:
{
"access_token": "YOUR_ACCESS_TOKEN",
"project_id": "YOUR_PROJECT_ID",
"path": "YOUR_TRANSLATIONS_PATH",
"locales":[
{
"locale_id": "pl_PL",
"tags":[
"TAG1",
"TAG2",
"TAG3"
]
},
{
"locale_id": "en_US"
}
]
}
- locale_id (required) - for example pl_PL
- tags (optional array) - project tag
phraseapp-cli
Apache-2.0 © kununu