@devhouse/poeditor-sync
[![NPM](https://nodei.co/npm/@devhouse/poeditor-sync.svg?downloads=true&downloadRank=true)](https://www.npmjs.com/package/@devhouse/poeditor-sync)  
Last updated 2 months ago by vova.lunev .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @devhouse/poeditor-sync 
SYNC missed versions from official npm registry.

@Devhouse/poeditor-sync

NPM  

Install

For yarn

yarn add @devhouse/poeditor-sync

Or npm

npm install @devhouse/poeditor-sync --save-dev

Usage

  1. upload

    poeditor-sync:upload --help
    

    usage:

    poeditor-sync:download keys=[param]
    

    keys:

    --settings='./settings.json' 		 Absolute or relative path to the settings file. By default './settings'
    --projects=references,common 		 The project keys. By default all from config
    --overwrite 			 0 | 1   Set it to 1 if you want to overwrite translations. By default 0
    --sync-terms 			 0 | 1   Set it to 1 if you want to sync your terms (terms that are not found in the uploaded file will be deleted from project and the new ones added). Ignored if updating = translations. By default 0
    
  2. Download

    poeditor-sync:dowload --help
    

    usage:

    poeditor-sync:download keys=[param]
    

    keys:

    --settings='./settings.json' 		 absolute or relative path to the settings file. By default './settings'
    --projects=references,common 		 the project keys. By default all from config
    

Config example

{
  "api_token": "your_poeditor-api-key",
  "dirName": "./",
  "projects": [
    {
      "id": 123123,
      "key": "common",
      "name": "The common translations",
      "langCodes": [
        "no", "sv", "en"
      ],
      "path": "i18n"
    }
  ]
}

Current Tags

  • 1.0.5                                ...           latest (2 months ago)

6 Versions

  • 1.0.5                                ...           2 months ago
  • 1.0.4                                ...           10 months ago
  • 1.0.3                                ...           10 months ago
  • 1.0.2                                ...           10 months ago
  • 1.0.1                                ...           10 months ago
  • 1.0.0                                ...           10 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 6
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |