Closed notslang closed 10 years ago
scratch that... https://github.com/nodeca/argparse is better (though lacking in pirates)
This is also pretty good: https://github.com/substack/minimist
Yeah, that's what substack switched to after optimist. Though argparse supports way more useful features like type checking, generating usage docs/help text, dealing with --version
, and subparsers (which we could totally use for roots)
finished this in the "slang" branch
move some of the logic out of arg_parser into yargs (my new favorite pirate-themed arg-parser)