Sha256: 9d5cddb0daaac3c6cf8d2f855a57f570836e88d71d4a302cf2b5780a3be12a7c
Contents?: true
Size: 660 Bytes
Versions: 3
Compression:
Stored size: 660 Bytes
Contents
module Aptible module CLI module Subcommands module Restart # rubocop:disable MethodLength def self.included(thor) thor.class_eval do include Helpers::Operation include Helpers::App desc 'restart', 'Restart all services associated with an app' option :app def restart app = ensure_app(options) operation = app.create_operation(type: 'restart') puts 'Restarting app...' poll_for_success(operation) end end end # rubocop:enable MethodLength end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aptible-cli-0.4.1 | lib/aptible/cli/subcommands/restart.rb |
aptible-cli-0.4.0 | lib/aptible/cli/subcommands/restart.rb |
aptible-cli-0.3.7 | lib/aptible/cli/subcommands/restart.rb |