lib/aptible/cli/subcommands/rebuild.rb in aptible-cli-0.5.5 vs lib/aptible/cli/subcommands/rebuild.rb in aptible-cli-0.5.6
- old
+ new
@@ -7,9 +7,10 @@
include Helpers::Operation
include Helpers::App
desc 'rebuild', 'Rebuild an app, and restart its services'
option :app
+ option :remote, aliases: '-r'
def rebuild
app = ensure_app(options)
operation = app.create_operation(type: 'rebuild')
puts 'Rebuilding app...'
poll_for_success(operation)