1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-30 22:08:02 +00:00
_/oclif
2022-04-15 15:57:00 +09:00
..
.circleci create oclif 2022-04-15 10:46:49 +09:00
.github create oclif 2022-04-15 10:46:49 +09:00
bin udpate 2022-04-15 15:57:00 +09:00
src create oclif 2022-04-15 10:46:49 +09:00
tests udpate 2022-04-15 15:57:00 +09:00
.gitignore create oclif 2022-04-15 10:46:49 +09:00
LICENSE create oclif 2022-04-15 10:46:49 +09:00
package.json udpate 2022-04-15 15:57:00 +09:00
README.md udpate 2022-04-15 15:57:00 +09:00
tsconfig.json create oclif 2022-04-15 10:46:49 +09:00
yarn.lock udpate 2022-04-15 15:57:00 +09:00

Hello World CLI

oclif example Hello World CLI

Usage

$ npm install -g @kou029w/hello-world
$ hello-world COMMAND
running command...
$ hello-world (--version)
@kou029w/hello-world/0.0.0 linux-x64 node-v16.14.2
$ hello-world --help [COMMAND]
USAGE
  $ hello-world COMMAND
...

Commands

hello-world hello PERSON

Say hello

USAGE
  $ hello-world hello [PERSON] -f <value>

ARGUMENTS
  PERSON  Person to say hello to

FLAGS
  -f, --from=<value>  (required) Whom is saying hello

DESCRIPTION
  Say hello

EXAMPLES
  $ oex hello friend --from oclif
  hello friend from oclif! (./src/commands/hello/index.ts)

hello-world hello:world

Say hello world

USAGE
  $ hello-world hello:world

DESCRIPTION
  Say hello world

EXAMPLES
  $ oex hello world
  hello world! (./src/commands/hello/world.ts)

hello-world help [COMMAND]

Display help for hello-world.

USAGE
  $ hello-world help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for hello-world.

See code: @oclif/plugin-help