Getopt::Declare - Declaratively Expressed Command-Line Arguments via
Getopt::Declare is yet another command-line argument parser, one
which is specifically designed to be powerful but exceptionally easy to
args = Getopt::Declare.new(<<‘EOF’)
= What’s NEW in v1.20?
- Parameter definitions can now also be specified using GNU style help
lines, like in the example above.
- Parameter definitions can now be recognized by the use either of one
or more tabs (like before) or by 3 consecutive spaces. This simplifies
parameter definitions quite a lot, particularly for those using editors
that are not friendly to tabs.
- A couple of minor bug fixes here and there.
- Docs are now available at rubyforge.
= How to get it?
gem install getopt-declare
or download as a zip file from rubyforge.
= For more information