Node CLI Typescript
a simple boilerplate node cli written in typescript.
Setup
install deps:
$ npm i
create entrypoint:
# grant perms
$ chmod u+x ./src/index.ts
test:
# test
$ ./src/index.ts
Publish
publish to npm:
$ npm publish
install:
$ npm install -g <node-typescript-cli>
test:
$ <node-typescript-cli>