Skip to content

liip-amboss/poey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

poey

upload upload to poe, download from poe

oclif Version Downloads/week License

Usage

$ npm install -g poey
add poe.ini file to directory and save your API key inside of it.
Don't forget to add the .ini to your .gitignore
$ poey COMMAND
running command...
$ poey (-v|--version|version)
poey/1.0.0 darwin-x64 node-v10.15.3
$ poey --help [COMMAND]
USAGE
  $ poey COMMAND
...

Commands

poey help [COMMAND]

display help for poey

USAGE
  $ poey help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

poey pull

pull exports from poe

USAGE
  $ poey pull

OPTIONS
  -i, --id=id      project id
  -p, --path=path  target folder
  -t, --type=type  filetype to export

DESCRIPTION
  ...
  Download exports from poeditor.com and save them as files straight to your project

See code: src/commands/pull.js

poey push

Push a json to poe

USAGE
  $ poey push

OPTIONS
  -i, --id=id      project id
  -l, --lang=lang  language code
  -p, --path=path  path to json

DESCRIPTION
  ...
  Uploads a file and its contents to poeditor and adds both keys of the file to the terms and translations of the file
  to the active translation, it does NOT overwrite existing translations!
  All flags are required.

See code: src/commands/push.js