Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 665 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 665 Bytes

CLI Template

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

Usage

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

Note:

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)