Sha256: c8702d5c4eeb7917e7fc689e7088268744f9d9c437250a65ef8a11cf46fd2080

Contents?: true

Size: 417 Bytes

Versions: 4

Compression:

Stored size: 417 Bytes

Contents

class Lono::CLI
  class Status < Lono::CLI::Base
    include Lono::AwsServices

    def run
      names = Lono::Names.new(@options)
      stack = find_stack(@stack)
      if stack
        status = Lono::Cfn::Status.new(@stack, @options)
        success = status.run
        exit 1 unless success
      else
        logger.error "ERROR: stack #{@stack} not found".color(:red)
        exit 1
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lono-8.0.0.pre.rc6 lib/lono/cli/status.rb
lono-8.0.0.pre.rc5 lib/lono/cli/status.rb
lono-8.0.0.pre.rc4 lib/lono/cli/status.rb
lono-8.0.0.pre.rc3 lib/lono/cli/status.rb