Tab/Auto Completion for Commander.js CLIs.
Look at the code of the Example App @ /examples/exampleapp
If installed properly and you entered
exampleapp and striked tab you would get…
# exampleapp hello helllllooooooo world
Then if you were to enter
exampleapp he and striked tab you would get…
# exampleapp hello hello helllllooooooo
Or if you were to enter
exampleapp w and striked tab you would get…
# exampleapp world
commanderTabTab = require('taptap-commander');
commanderTabTab.init(program, 'NAME OF YOUR BIN/CLI FILE/APP');
npm install -g .(This adds your app to your shell's PATH)
If you would like to install completion everywhere rather than just in the current shell enter this line.
APPNAME completion >> ~/.bashrc
else if you just want to try out with it enabled in the current shell enter this line.
source <(pkgname completion)
npunch - NodeJS WebApp Development Hostbox Thing.