Yarg Builder
Yargs is a fantastic module, but I'm not a fan of chaining lots of methods together. This is essentially a wrapper to make it possible to get all the piratey goodness of yargs but in a more declarative manner.
Here's a quick example cribbed from the yargs module itself
line_count.js
#!/usr/bin/env nodevar yargBuilder = ;var argv = argv; var fs = ;var s = fs; var lines = 0;s; s;
$ node line_count.js countUsage: line_count.js <command> [options] Commands: count Count the lines in a file Options: -f, --file Load a file [required] -h, --help Show help [boolean] Examples: line_count.js count -f foo.js count the lines in the given file Borrowed from Yargs, Copyright 2015 Missing required arguments: f $ node line_count.js count --file line_count.js26 $ node line_count.js count -f line_count.js26