@oneci/cli
v1.0.0-alpha.1
Published
[![exivity](https://img.shields.io/badge/♥-exivity-5cccea.svg)](https://exivity.com) [![Version](https://img.shields.io/npm/v/@oneci/cli.svg)](https://npmjs.org/package/@oneci/cli) [![License](https://img.shields.io/npm/l/@oneci/cli.svg)](https://github.c
Downloads
3
Readme
@oneci/cli
Usage
$ npm install -g @oneci/cli
$ oneci COMMAND
running command...
$ oneci (-v|--version|version)
@oneci/cli/1.0.0-alpha.1 win32-x64 node-v10.15.3
$ oneci --help [COMMAND]
USAGE
$ oneci COMMAND
...
Commands
oneci convert [FILE]
convert an oneci configuration
USAGE
$ oneci convert [FILE]
ARGUMENTS
FILE if not provided, will autodetect .oneci.{yml,yaml,json} files in the working directory
OPTIONS
-a, --append append to existing file if --out is given
-f, --format=json|yaml [default: yaml] file format
-h, --help show CLI help
-o, --out=out write to file instead of stdout
-t, --target=target (required) config target to convert to
EXAMPLE
$ oneci convert --target=travis
$ oneci convert my.oneci.yaml --target=travis --format=json
$ echo "..." | oneci convert --target=travis --out=.travis.json
See code: lib\commands\convert.js
oneci help [COMMAND]
display help for oneci
USAGE
$ oneci help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
oneci validate [FILE]
validate an oneci configuration
USAGE
$ oneci validate [FILE]
ARGUMENTS
FILE if not provided, will autodetect .oneci.{yml,yaml,json} files in the working directory
OPTIONS
-h, --help show CLI help
EXAMPLE
$ oneci validate
$ oneci validate .oneci.json
$ oneci validate .oneci.yaml
$ echo "..." | oneci validate
See code: lib\commands\validate.js