Sha256: ae027d47e30c2fd742aa6ab8616a9245546cd27d92882cba7ba7f0b547e8c4b7

Contents?: true

Size: 600 Bytes

Versions: 31

Compression:

Stored size: 600 Bytes

Contents

module Aptible
  module CLI
    module Subcommands
      module Rebuild
        def self.included(thor)
          thor.class_eval do
            include Helpers::Operation
            include Helpers::App

            desc 'rebuild', 'Rebuild an app, and restart its services'
            app_options
            def rebuild
              app = ensure_app(options)
              operation = app.create_operation!(type: 'rebuild')
              CLI.logger.info 'Rebuilding app...'
              attach_to_operation_logs(operation)
            end
          end
        end
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
aptible-cli-0.22.0 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.21.0 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.20.0 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.19.9 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.19.7 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.19.6 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.19.4 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.19.3 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.19.2 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.19.1 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.19.0 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.18.3 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.18.2 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.18.1 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.18.0 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.17.2 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.17.1 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.17.0 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.16.9 lib/aptible/cli/subcommands/rebuild.rb
aptible-cli-0.16.8 lib/aptible/cli/subcommands/rebuild.rb