Sha256: e1afae20a7b5c2677648c87aaba16071cdfa8734f5fabfb3f0bb5ed82e62da25

Contents?: true

Size: 849 Bytes

Versions: 1

Compression:

Stored size: 849 Bytes

Contents

require 'thor'
require 'aws'

require_relative 'helpers/keychain'
require_relative 'helpers/options'

require_relative 'subcommands/update'
require_relative 'subcommands/exec'
require_relative 'subcommands/deploy'
require_relative 'subcommands/status'
require_relative 'subcommands/allow'
require_relative 'subcommands/lockdown'
require_relative 'subcommands/upgrade_chef'

module OpsWorks
  module CLI
    class Agent < Thor
      include Thor::Actions

      include Subcommands::Update
      include Subcommands::Exec
      include Subcommands::Deploy
      include Subcommands::Status
      include Subcommands::Allow
      include Subcommands::Lockdown
      include Subcommands::UpgradeChef

      desc 'version', 'Print OpsWorks CLI version'
      def version
        say "opsworks-cli v#{OpsWorks::CLI::VERSION}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opsworks-cli-0.2.3 lib/opsworks/cli/agent.rb