"""Usage: foo.py [--knob=<n>] Options: --knob=<n> Set the knob to n. [default: 14] """ import pprint from docopt import docopt pprint.pprint(docopt(__doc__)) The ...
This is the javascript port of docopt, the awesome option parser written originally in python. Isn't it awesome how yargs and commander generate help messages based on your code?! doc should be a ...