Sha256: 8152ea8608d5ed6079a421e9e970f3e472f438cade81737ef5d351950c273232

Contents?: true

Size: 530 Bytes

Versions: 4

Compression:

Stored size: 530 Bytes

Contents

require 'clamp'
require 'opsworks_rolling_deploy/services/describe_service'

module OpsworksRollingDeploy
  module Commands
    class DescribeCommand < Clamp::Command
      option "--stack", "STACK_NAME", "the stack name", :required => false
      option "--app", "APP_NAME", "the application name", :required => false
      option "--layer", "LAYER_NAME", "the layer name", :required => false

      def execute
        OpsworksRollingDeploy::Services::DescribeService.new.describe(stack, app, layer)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
opsworks_rolling_deploy-0.2.0 lib/opsworks_rolling_deploy/commands/describe.rb
opsworks_rolling_deploy-0.1.5 lib/opsworks_rolling_deploy/commands/describe.rb
opsworks_rolling_deploy-0.1.4 lib/opsworks_rolling_deploy/commands/describe.rb
opsworks_rolling_deploy-0.1.3 lib/opsworks_rolling_deploy/commands/describe.rb