1.0.0 • Published 6 years ago
wortsteg v1.0.0
Wortsteg cli
Worsteg cli is the command line tool for Worteg translation service
Install
Install as a global package
npm install -g wortsteg
Configuration
The command line tool will run read a configuration file inside the running directory, called wortsteg.yml
The configuration contains the following settings:
document
: the document id. This id can be retrieved from the websitesources
: a list of source locale files containing the file (file path of the locale file) and locale name
document: 7188a1e2-35dc-4bae-a38b-86a624809fbe
sources:
-
file: translation/en.json
locale: en
Available cli parameters
credentials
: e.g. john.doe@example.com:1234
Available commands
upload
: uploads all the sources defined in the configuration file if they have been changed since the last upload
Run
wortsteg --credentials username:password upload
1.0.0
6 years ago