Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 856 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 856 Bytes

#node-cli-boilerplate

A boilerplate for building node command line modules that run forever.

Is a boilerplate for building node command line interface modules. Module based on this repo can be installed via npm install -g mymodule and used from the command line or required locally in an application.

The entry point is run-cli.js, which will run the cli.js file with forever, restarting it when it crashes.

The boilerplate comes bundled with grunt lint and grunt test commands to either lint all the files or run the tests. To run the tests, you will need to install the grunt-cli globally npm install -g grunt-cli.

To use this boilerplate, clone this repo locally, remove the .git folder, run git init and hack at will.

If you use it, feel free to improve it or report bugs here.