typescript cli app template
$ npm i my-cli-app -g
Usage: my-cli-app [options] <file> [<file>, ...] -- [...rest]
<file> [<file>, ...] Files to process
-- [...rest] The rest of the arguments
-f, --flag Flag about something
-c, --count=n How many times
-C=... Choose color [blue,red,yellow]
-s, --string=... Some string
--meh=... Meh
Runs the cli app.
-
options
Optionsoptions.file
Files to processoptions.rest
The rest of the argumentsoptions.flag
Flag about somethingoptions.count
How many timesoptions.color
Color to useoptions.string
Some stringoptions.meh
Some array of strings
All contributions are welcome!
MIT © 2021 stagas