Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'pp'
- require 'mixlib/cli'
- class Foo
- include Mixlib::CLI
- option :firstoption,
- :short => '-f FIRSTOPTION',
- :long => '--firstoption FIRSTOPTION',
- :default => 42,
- :description => "the first option"
- end
- f = Foo.new
- pp f.config
Advertisement
Add Comment
Please, Sign In to add comment