commandy
If you want to create a command line app which is hard to make with minimist, but don't want the syntactic sugar overdose which commander.js gives, this package is for you.
Demo
const Program = ; const checkoutProgram = ; const orderProgram = 'p' 'pepperoni' 'c' 'cheese' 'h' 'ham' const pizzaProgram = checkout: checkoutProgram order: orderProgram; const margaretaCheckout = pizzaProgram;console;// => trueconsole// => [ 'margareta' ] const order = pizzaProgramconsole;// => [ 'hawaii' ]console;// => [ true, true ]console;// => [ true ]console;// => [ 'little' ]
Installation
npm install commandy --save