a simple nodejs CLI with some personal utils
how to setup:
- clone the repo
- install dependencies using
npm i
- setup
app-config.ts
file insrc/config
, useconfig.sample.ts
as reference npm run dev
to run ts compiler in watch modenpm start
to test out any changes, can also pass cli arguments likenpm start greet alice
(flags don't work quite well though, for egnpm start greet alice --upper
doesn't work, it'll ignore--upper
. So need to go a bit verbose and usenode ./dist/cli.js greet alice --upper
to test out such commands)- once satisfied with changes,
npm run local
can install/update the nodejs script globally on system(atleast on windows)