wortsteg
v1.0.0
Published
Worsteg cli is the command line tool for Worteg translation service
Downloads
2
Readme
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. [email protected]: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