@alexjeffcott/oclif-demo

oclif-demo =======================

Usage no npm install needed!

<script type="module">
  import alexjeffcottOclifDemo from 'https://cdn.skypack.dev/@alexjeffcott/oclif-demo';
</script>

README

oclif-demo

example multi-command CLI built with typescript

oclif Version CircleCI Appveyor CI Codecov Downloads/week License

Usage

$ npm install -g test-npm-cli
$ test-npm-cli COMMAND
running command...
$ test-npm-cli (-v|--version|version)
test-npm-cli/1.0.0 darwin-x64 node-v12.18.3
$ test-npm-cli --help [COMMAND]
USAGE
  $ test-npm-cli COMMAND
...

Commands

test-npm-cli goodbye [FILE]

describe the command here

USAGE
  $ test-npm-cli goodbye [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

See code: src/commands/goodbye.ts

test-npm-cli hello [FILE]

describe the command here

USAGE
  $ test-npm-cli hello [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

EXAMPLE
  $ test-npm-cli hello
  hello world from ./src/hello.ts!

See code: src/commands/hello.ts

test-npm-cli help [COMMAND]

display help for test-npm-cli

USAGE
  $ test-npm-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help