= pablo

Support for pablo is given at http://pablo.rubyforge.org/.
If you have questions, problems, want to report bugs or request features, this is the
place for you.
Have fun with it!

== DESCRIPTION

This is pablo, a Ruby commandline parser that follows the command/option paradigm.
pablo stands for "PArsing BLOcks" (I know, it's a really stupid name).

== FEATURES/PROBLEMS:

* Commandline parsing following the well-known command/option paradigm (like `gem` does).
* Easy declaration and description of commands/options via YAML syntax
* Auto-generated `help`, `version` and `license` commands
* Optional expansion of commands and options and detection of ambiguities

== SYNOPSIS:

pablo ARGV, :program => 'test', :desc => 'a test program',
:version => '1.0', :license => 'GPL or something' do

desc('prints foo')
option :foo do
puts 'foo'
end

help_command
version_command
license_command
ambiguity_command

command :bar do |args, pablo|
option :goo || missing_argument('goo')

if pablo.options[:goo]
puts 'goo'
else
puts 'bar'
end
end
end

== REQUIREMENTS:

* none so far

== INSTALL:

* On Linux:
sudo gem install -t pablo
* On Windows:
gem install -t pablo

== LICENSE:

DON'T PANIC License v1.1
See LICENSE.txt for full license text