lib/aptible/cli/subcommands/rebuild.rb in aptible-cli-0.6.0 vs lib/aptible/cli/subcommands/rebuild.rb in aptible-cli-0.6.1
- old
+ new
@@ -6,11 +6,10 @@
thor.class_eval do
include Helpers::Operation
include Helpers::App
desc 'rebuild', 'Rebuild an app, and restart its services'
- option :app
- option :remote, aliases: '-r'
+ app_options
def rebuild
app = ensure_app(options)
operation = app.create_operation(type: 'rebuild')
puts 'Rebuilding app...'
attach_to_operation_logs(operation)