This is a example template for a CLI written in Typescript.
To setup example-cli
you will need to:
1 - clone https://github.com/jonathan-fielding/typescript-cli-template.git
2 - run npm i
3 - run npm run build
4 - run npm link
The simplest way to use example-cli
is to run the CLI along with the file you want to run it against. e.g
example-cli
-v
, --version
- output the version number
-d
, --debug
- output extra debugging
-h
, --help
- output usage information