bin/fontlike in fontlike-0.0.2 vs bin/fontlike in fontlike-0.0.3

- old
+ new

@@ -6,30 +6,34 @@ options = {} OptionParser.new do |opts| opts.banner = "Usage: circle [options]" opts.on("-f", "--fancy", "Get fancy") do |f| - options[:fancy] = f + options[:style] = :fancy end opts.on("-a", "--angry", "Get angry") do |s| - options[:shout] = s + options[:style] = :shout end opts.on("-m", "--mono", "Get oldschool") do |m| - options[:mono] = m + options[:style] = :mono end opts.on("-c", "--circle", "Get circled?") do |c| - options[:circle] = c + options[:style] = :circle end opts.on("-s", "--sans-serif", "Get attractive") do |ss| - options[:sans_serif] = ss + options[:style] = :sans_serif end opts.on("-ds", "--double-struck", "Get struck") do |ds| - options[:double_struck] = ds + options[:style] = :double_struck + end + + opts.on("-r", "--random", "Get random") do |r| + options[:style] = :random end end.parse! transmuter = Fontlike::Transmuter.new(options)