wortsteg

1.0.0 • Public • Published

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 website
  • sources : 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

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

Readme

Keywords

none

Package Sidebar

Install

npm i wortsteg

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

2.09 kB

Total Files

4

Last publish

Collaborators

  • gabriel.rusu