@arelstone/traduora-cli
traduora-cli ============
Last updated a month ago by arelstone .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @arelstone/traduora-cli 
SYNC missed versions from official npm registry.

traduora-cli

oclif Version Downloads/week License

Read more in the documentation

Installation

npm install @arelstone/traduora-cli -save-dev

.traduorarc

This package needs to know a few things about your traduora project before being able to communicate with your server, for this we'll use an rc file.

In the root of your project create a .traduorarc-file.

The filenames allowed is: .traduorarc.js, .traduorarc.json and .traduorarc

{
    baseUrl: '', // Path to the api. Remeber the api/v1 suffix
    username: '', // The username of who will be authendicated
    password: '', // The password
    projectId: '', // The project is for your traduora project
}

Usage

In your package.json add traduora-cli to your scripts section. Because we rely on dotenv you need to

"scripts": {
    "traduora": "traduora"
}

Now you will be able to use the cli by running

npm run traduora stats
npm run traduora locale:add en_US

For more commands see the commands

Prerequisites

Current Tags

  • 1.1.0                                ...           latest (a month ago)

8 Versions

  • 1.1.0                                ...           a month ago
  • 1.0.10                                ...           2 months ago
  • 1.0.9                                ...           2 months ago
  • 1.0.8                                ...           2 months ago
  • 1.0.7                                ...           2 months ago
  • 1.0.1                                ...           2 months ago
  • 1.0.0                                ...           2 months ago
  • 0.0.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 8
Last Month 16
Dependencies (6)
Dev Dependencies (22)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |