Skip to content

OCLIF-generated multi-command starter on TypeScript

License

Notifications You must be signed in to change notification settings

softspiders/oclif-multi-ts-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOFTSPIDERS

oclif-multi-ts-starter

OCLIF-generated multi-command starter on TypeScript

Feature tags

  • cli
  • multi-command
  • oclif
  • starter
  • template
  • typescript

Authors

Alexander Lapygin <[email protected]>


Direct ancestors

node-cli-starter


Install

npm i

Usage

$ npm install -g oclif-multi-ts-starter
$ mycmd COMMAND
running command...
$ mycmd (-v|--version|version)
oclif-multi-ts-starter/0.1.0 win32-x64 node-v12.14.0
$ mycmd --help [COMMAND]
USAGE
  $ mycmd COMMAND
...

Commands

mycmd hello [FILE]

describe the command here

USAGE
  $ mycmd hello [FILE]

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

EXAMPLE
  $ mycmd hello
  hello world from ./src/hello.ts!

See code: src\commands\hello.ts

mycmd help [COMMAND]

display help for mycmd

USAGE
  $ mycmd help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

License

Licensed under the MIT license.