Clier
very simple CUI tool
Installation
Add this line to your application's Gemfile:
gem 'clier'
And then execute:
$ bundle
Or install it yourself as:
$ gem install clier
Usage
require 'clier'
puts Clier.parse ARGV
run this,
$ ruby foo.rb -a value -b
{:a=>"value", :b=>true}
Contributing
- Fork it ( http://github.com/
/clit/fork ) - 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