optparse-lite
what the world needs now
Summary
You've seen Getopt::Long, OptionParser, Rake, Thor? What the world needs now is one more command-line parser. Arbitrarily deeply nested subcommands (lazily loaded), colors, manpage generation, usage syntax generation, option-parsing adapter interface.[^maybe]
Description
You've seen Getopt::Long, OptionParser, Thor? What the world needs now is one more command-line parser. This serves as a backend command line parser that passes the option-parsing portion of it off to OptionParser, Trollop, or any other option-parser that has an adapter[^adapter]. But the parts it does do are really exciting: It features arbitrarily deeply nested subcommands, optionally colorized help screens with smart formatting, automatically generated usage syntaxes, manpage generation[^maybe2], lazy-loading of subcommands, and (get this:) you can turn your command line app into a web app. (is processing a form then displaying a record really that different from CLI that does the same?)[^maybe3]
Awesome
These and more exciting features guarantee that what everyone's been saying will be true: that 2011 will indeed be the year for command-line interfaces.
Like what you hear and can't wait to get typing? Install it then use it!
### _Footnotes_
[^maybe]: some of these features are in the works, or were working at one point but are part of a grand refactor, *or* will be a part of `optparse-heavy` (vaporware from the future, not yet arrived)
[^maybe2]: from the future (_ibid._)
[^maybe3]: from the future (_ibid. ibid._)
[^adapter]: currently there is only an adapter for Trollop!