@oneci/cli
[![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
Last updated 6 months ago by hongaar .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @oneci/cli 
SYNC missed versions from official npm registry.

@oneci/cli

exivity Version License

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

Current Tags

  • 1.0.0-alpha.1                                ...           latest (6 months ago)

2 Versions

  • 1.0.0-alpha.1                                ...           6 months ago
  • 1.0.0-alpha.0                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 2
Dependencies (6)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |