mini-commander

a single-file helper for making simple cli tools in nodejs
git clone https://github.com/TanguyAndreani/mini-commander
Log | Files | Refs | README

README.md (459B)


      1 # mini-commander
      2 
      3 My first nodejs project. I simply tried to make something that looks 
      4 like the interface to Commander. See `example.js` to see how to use it.
      5 
      6 ```nodejs
      7 const Commander = require('./mini-commander')
      8 ```
      9 
     10 ## See it in action
     11 
     12 ```
     13 $ node main.js help
     14 NAME
     15     mini-commander's example
     16 
     17 DESCRIPTION
     18     a do-nothing tool
     19 
     20 COMMANDS
     21     help (h)    display this help message
     22     install (i) install things
     23     uninstall (u)   uninstall things
     24 ```