2013-01-21 16:45:00 -05:00
2013-01-21 16:15:17 -05:00
2013-01-20 19:28:49 -05:00
2013-01-20 20:34:14 -05:00
2013-01-20 19:28:49 -05:00
2013-01-20 19:28:49 -05:00
2013-01-20 22:28:36 -05:00
2013-01-20 20:12:17 -05:00

Yawpa

Yet Another Way to Parse Arguments is an argument-parsing library for Ruby.

Features

  • POSIX or non-POSIX mode (supports subcommands using POSIX mode)
  • Options can require an arbitrary number of parameters
  • Options can be defined with a range specifying the allowed number of parameters

Installation

Add this line to your application's Gemfile:

gem 'yawpa'

And then execute:

$ bundle

Or install it yourself as:

$ gem install yawpa

Usage

require 'yawpa'

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Description
Yet Another Way to Parse Arguments is a Ruby argument-parsing gem
Readme 62 KiB
Languages
Ruby 100%