lib/neetob/cli/heroku/commands.rb in neetob-0.4.16 vs lib/neetob/cli/heroku/commands.rb in neetob-0.4.19
- old
+ new
@@ -12,10 +12,10 @@
desc "execute", "Run the given Heroku CLI command or Rails console command on Heroku apps"
option :command, type: :string, aliases: "-c", required: true, desc: "Command to run on Heroku apps"
option :rails, type: :boolean, aliases: "-r", default: false, desc: "Use this flag to run the given command in the Rails console"
option :apps, type: :array, aliases: "-a", required: true, desc: "Heroku app names. Can be matched using the '*' wildcard. Example: \"neeto*\" \"neeto-cal-web-staging\""
def execute
- Execute.new(options[:apps], options[:command], options[:rails], options[:sandbox]).run
+ Execute.new(options[:apps], options[:command], options[:rails], options[:sandbox]).process
end
desc "config_vars", "Interact with the config(env) variables on Heroku apps"
subcommand "config_vars", ConfigVars::Commands