RubyGems.org

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]

installgem install optparse-lite
Authors

Chip Malice

1,399 total downloads 1,399 for this version
Owners

C179ad7e1501966c48bdeefe6732a06f

Gemfile
gem 'optparse-lite', '~> 0.0.0'
Versions
  1. 0.0.0 June 21, 2010 (37.5 KB)