Node CLI Application Starter Template
This is a starter template for creating any cli application in nodejs.
To start the application on local:
- Clone the repository:
git clone https://github.com/CoderChirag/node-cli-starter-template.git
- Cd into the root of the project:
cd node-cli
- Install all dependencies:
yarn
- Build the source code:
yarn build
- Symlink the package binaries into your global binaries, so that you can run application from anywhere on your system:
yarn link
- Run the application:
node-cli
For running in development mode:
- Run yarn dev:
yarn dev
- Now make any changes in the code, and re-run the application by
node-cli
, the changes would appear in the application.