Sha256: d0926a7bff7974a9640b806abcfd9b08ed0986385bc987704388210a25f3de26

Contents?: true

Size: 896 Bytes

Versions: 3

Compression:

Stored size: 896 Bytes

Contents

require 'thor'

require_relative 'helpers/options'
require_relative 'helpers/typecasts'

require_relative 'subcommands/chef'
require_relative 'subcommands/recipes'
require_relative 'subcommands/apps'
require_relative 'subcommands/iam'
require_relative 'subcommands/config'
require_relative 'subcommands/deployments'
require_relative 'subcommands/instances'

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

      include Helpers::Options
      include Helpers::Typecasts

      include Subcommands::Chef
      include Subcommands::Recipes
      include Subcommands::Apps
      include Subcommands::IAM
      include Subcommands::Config
      include Subcommands::Deployments
      include Subcommands::Instances

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
opsworks-cli-0.7.1 lib/opsworks/cli/agent.rb
opsworks-cli-0.7.0 lib/opsworks/cli/agent.rb
opsworks-cli-0.6.0 lib/opsworks/cli/agent.rb