RubyGems.org

This option parser is 70 lines short and is based on OptionParser. It has strong validations and a short, clear and easy to use syntax. Feel free to copy all 70 lines (45 lines without validations / empty lines) into your script rather installing the gem.

installgem install micro-optparse -v 1.0.1
Authors

Florian Pilz

13,444 total downloads 998 for this version
Owners

99ad49aa1ba791f0d537a1b5620dd2eb

Gemfile
gem 'micro-optparse', '~> 1.0.1'
Versions
  1. 1.2.0 December 29, 2013 (13 KB)
  2. 1.1.5 June 19, 2011 (9.5 KB)
  3. 1.1.4 June 12, 2011 (9.5 KB)
  4. 1.1.3 April 18, 2011 (9.5 KB)
  5. 1.0.2 March 18, 2011 (9 KB)
Show all versions (10 total)
Development Dependencies
  1. rspec >= 0