Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 26, 2019. It is now read-only.

contactlab/onesky-cli

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This project is no longer mantained

onesky-cli Build Status Coverage Status

One Sky App cli tool, wrapper of onesky-utils.

Install

Local within your project.

You need to run the CLI as NPM script or with "yarn-run" (eg. yarn onesky-cli download -c config.file.json)

$ yarn add onesky-cli

Global

$ yarn add global onesky-cli

Commands

Run the --help command to get the list of commands.

$ onesky-cli --help

	Usage
		$ onesky-cli [input] - download|upload

	Options
		--config -c - Path to config file [Default: ./package.json]

	Examples
		$ onesky-cli download
		$ onesky-cli upload --config oneSky.config.json

Configuration

You can pass the configuration file path as param:

$ onesky-cli download -c oneSky.config.json

... or can declare all configs within the package.json:

{
	...
	"scripts": {
		...
	}
	...
	"oneSkyCli": {
		{
			"path": "fixture/i18n",
			"apiKey": "apiKey",
			"secret": "secretKey",
			"projectId": "1111"
		}
	}
}

Default configurations

For download command:

{
	path: 'i18n',
	languages: ['it', 'en'],
	fileName: 'en.json'
}

For upload command:

{
	path: 'i18n',
	format: 'HIERARCHICAL_JSON',
	keepStrings: false,
	languages: ['it', 'en']
}

License

Released under the Apache 2.0 license.

About

⚠️ This project is no longer mantained - One Sky App cli tool, wrapper of onesky-utils.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.