@arelstone/traduora-cli
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

npm npm (scoped) GitHub issues GitHub pull requests

traduora-cli

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

Package Sidebar

Install

npm i @arelstone/traduora-cli

Weekly Downloads

75

Version

1.1.3

License

MIT

Unpacked Size

7.19 kB

Total Files

6

Last publish

Collaborators

  • arelstone