Incoming-args
A utility for parsing input to a function via various paths:
- Shell arguments
- Direct calls (via
program.call
) - Sock file (for having a single "master" instance that you can call repeatedly via the methods above)
Usage
var Program = ; var app = version '0.0.1' // + generated help text // name of your "rest" params // replaces generated help text // deferred call to process command-line arguments ; app; app;