Sha256: 525282dec11547e06d1a2cae36f92598db352a60cb036e5e3c3bfdd2a987b96b

Contents?: true

Size: 1.12 KB

Versions: 3

Compression:

Stored size: 1.12 KB

Contents

== trollop

by William Morgan (wmorgan-trollop at the masanjin dot nets or http://cs.stanford.edu/~ruby)

Main page: http://trollop.rubyforge.org

Release announcements and comments: http://all-thing.net/search/label/trollop

Documentation quickstart: See Trollop::options and Trollop::Parser#opt.

== DESCRIPTION

Trollop is a commandline option parser for Ruby that just gets out of your
way. One line of code per option is all you need to write. For that, you get
a nice automatically-generated help page, robust option parsing, command
subcompletion, and sensible defaults for everything you don't specify.

== FEATURES/PROBLEMS

- Dirt-simple usage.
- Sensible defaults. No tweaking necessary, much tweaking possible.
- Support for long options, short options, short option bundling,
  and automatic type validation and conversion.
- Support for subcommands.
- Automatic help message generation, wrapped to current screen width.
- Lots of unit tests.

== REQUIREMENTS

* A burning desire to write less code.

== INSTALL

* gem install trollop

== LICENSE

Copyright (c) 2008 William Morgan. Trollop is distributed under the same terms as Ruby.

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
auser-poolparty-1.3.0 vendor/gems/trollop/README.txt
trollop-1.11 README.txt
trollop-1.12 README.txt