This is a simple cli tool template written with javascript
It does not have any specific functionality (yet but in another repo) but offers by defaut:
- A binary
- The ability to process CLI arguments
- config validation
- communication with users via logs
To use this template clone this repo into desired project
https://github.com/Eranmonnie/cli-node.git
Then run
npm link
Next cd into your project in the folder and enter in
npm link tool
tool
is the name of the cli tool if renamed you will have to go back to the tool and run npm link
then npm link (new tool name)