Lucy::Goosey
Command line parsing sucks.
Lucy::Goosey
is the New Jersey style approach to the problem.
It assumes some unix conventions, and doesn't mess with your environment or do anything magic.
Heavily tested.
Examples
= Lucy::Goosey.(%w{-n 1})
['n']
# => '1'
= Lucy::Goosey.(%w{--n 1 --foo bar --baz})
['n']
# => '1'
['foo']
# => 'bar'
['baz']
# => true
Installation
Add this line to your application's Gemfile:
gem 'lucy-goosey'
And then execute:
$ bundle
Or install it yourself as:
$ gem install lucy-goosey
Usage
TODO: Write usage instructions here
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request