/typescript-cli-template

↳ Simple Command Line Tool template with Typescript, Yargs, Jest, and Prettier

Primary LanguageJavaScriptMIT LicenseMIT

Typescript Command Line Tool Template

Run Locally

$ yarn
$ yarn compile
$ yarn link

Publish

$ yarn publish

Install

$ yarn global add your-package

Testing & Linting

$ yarn run test
$ yarn run fix

Use

$ your-command help                                                                                     
Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]
  --hello                           [string] [default: "Hello, no commands yet"]
$ your-command --hello Hi!                                                                                    
Hi!