typescript-cli-starter
A deadly simple starter for writing cli app with typescript.
- arg for args parsing.
tsc
to compilejest
andts-jest
to test typescript directly
Commands
# add packages
$ yarn
# build cli
$ yarn build
# run test
$ yarn test
# debug as typescript
$ ts-node src/cli.ts
# run as nodejs
$ node dist/cli.js