Skip to content

Instantly share code, notes, and snippets.

require 'optparse'
user_input = {}
OptionParser.new do |opts|
opts.banner = "RFE #{RFE::VERSION}"
opts.separator ""
opts.separator "Available Options:"
opts.on("-h", "--help", "help") do |some_option|
puts opts
end