Sha256: df138984a58fd3f33562b511b0f4efb936c24a837bb3490566f3afc4dafdef69
Contents?: true
Size: 637 Bytes
Versions: 1
Compression:
Stored size: 637 Bytes
Contents
arg :aws_account desc 'Audits Reserved Instance Counts' command 'audit' 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.switch [:r, :reserved], :desc => "Shows reserved instance counts" c.switch [:i, :instances], :desc => "Shows current instance counts" c.action do |global_options, options, args| require_relative '../scripts/audit' raise ArgumentError, 'You must specify an AWS account' unless args.first AwsAuditor::Scripts::Audit.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/audit.rb |