Sha256: 1a427c18476cbb4f3cb82e6148fe67f3e4457ff6bbcccab53714b457bc2f8bfd
Contents?: true
Size: 657 Bytes
Versions: 3
Compression:
Stored size: 657 Bytes
Contents
module Aptible module CLI module Subcommands module Rebuild # rubocop:disable MethodLength def self.included(thor) thor.class_eval do include Helpers::Operation include Helpers::App desc 'rebuild', 'Rebuild an app, and restart its services' option :app def rebuild app = ensure_app(options) operation = app.create_operation(type: 'rebuild') puts 'Rebuilding 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/rebuild.rb |
aptible-cli-0.4.0 | lib/aptible/cli/subcommands/rebuild.rb |
aptible-cli-0.3.7 | lib/aptible/cli/subcommands/rebuild.rb |