Sha256: 6227eae8a8cf4ae4cada7d640e87c277412386d9672821eed6eeb7dfb7ab34fc
Contents?: true
Size: 633 Bytes
Versions: 4
Compression:
Stored size: 633 Bytes
Contents
module Aptible module CLI module Subcommands module Restart 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 option :remote, aliases: '-r' def restart app = ensure_app(options) operation = app.create_operation(type: 'restart') puts 'Restarting app...' attach_to_operation_logs(operation) end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems