Sha256: b7632b8b6ab4b9afb3bfb8d0a85ad5ad1d7fb1df5e8f584dea36d51a47b674b6
Contents?: true
Size: 492 Bytes
Versions: 3
Compression:
Stored size: 492 Bytes
Contents
arg :aws_account desc 'Reviews Stack Instances' command 'inspect' do |c| c.switch [:e, :ec2], :desc => "Only audit EC2 instances" c.switch [:d, :rds], :desc => "Only audit RDS instances" c.switch [:c, :cache], :desc => "Only audit 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aws_auditor-0.1.2 | lib/aws_auditor/commands/inspect.rb |
aws_auditor-0.1.1 | lib/aws_auditor/commands/inspect.rb |
aws_auditor-0.1.0 | lib/aws_auditor/commands/inspect.rb |