ngist
ngist copied to clipboard
Look into using nomnom for opt parsing
trafficstars
https://github.com/harthur/nomnom
Also think about flatiron. Check out this pull request on issues: http://github.com/vesln/issues/pull/8
If I end up having prompts, then I will consider prompt from flatiron. Thanks for the heads up @indexzero
The way configuration is handled is also really useful. For example I don't want to have to do -t -<token> -u <username for every ngist command. With flatiron a call to
app.config.get('username');
will (in-order):
- Check any defaults
- Check argv and ENV vars.
- Check any files configured to read from
So very quickly you could setup a sophisticated hierarchical configuration like npm has :)