Sha256: 6f7251b8f0d5fa42ee8f21ab8c092c1b348da2f8d8fec98afd11e7afc8379c45

Contents?: true

Size: 501 Bytes

Versions: 1

Compression:

Stored size: 501 Bytes

Contents

arg :aws_account
desc 'Reviews Stack Instances'
command 'inspect' do |c|
  c.switch [:e, :ec2], :desc => "Only inspect EC2 instances"
  c.switch [:d, :rds], :desc => "Only inspect RDS instances"
  c.switch [:c, :cache], :desc => "Only inspect ElastiCache instances"
  c.action do |global_options, options, args|
    require_relative '../scripts/inspect'
    raise ArgumentError, 'You must specify an AWS account' unless args.first
    AwsAuditor::Scripts::Inspect.execute(args.first,options)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aws_auditor-0.1.3 lib/aws_auditor/commands/inspect.rb