bin/rambo in rambo_ruby-0.5.0 vs bin/rambo in rambo_ruby-0.6.0
- old
+ new
@@ -12,12 +12,12 @@
options = {}
OptionParser.new do |opts|
opts.banner = "Usage: rambo [FILE] [OPTIONS]"
- options[:rails] = true
- opts.on("--no-rails", "Generate tests for a non-Rails API") do |v|
- options[:rails] = false
+ options[:framework] = :rails
+ opts.on("--framework=FRAMEWORK", "Choose rails (default), sinatra:classic, sinatra:modular, or grape") do |v|
+ options[:framework] = v.to_sym
end
opts.on("--token=TOKEN", "-T=TOKEN", "Specify an API token") do |v|
options[:token] = v
end
end.parse!