lib/inventory/cli.rb in aws-inventory-0.3.0 vs lib/inventory/cli.rb in aws-inventory-0.3.1
- old
+ new
@@ -20,18 +20,18 @@
Vpc.new(options).report
end
desc "sg", "report security group inventory"
long_desc Help.text(:sg)
- option :report_type, default: "open", desc: "all, summary, or open"
+ option :report, default: "open", desc: "all, summary, open or unused"
def sg
SecurityGroup.new(options).report
end
desc "rds", "report rds inventory"
long_desc Help.text(:rds)
- option :report_type, default: "summary", desc: "all, summary, or port"
+ option :report, default: "summary", desc: "all, summary, or port"
def rds
Rds.new(options).report
end
desc "route53", "report route53 inventory"
@@ -70,10 +70,10 @@
Keypair.new(options).report
end
desc "iam", "report iam inventory"
long_desc Help.text(:iam)
- option :report_type, default: "groups", desc: "all, groups, users, or summary"
+ option :report, default: "groups", desc: "all, groups, users, or summary"
def iam
Iam.new(options).report
end
desc "cw", "report cloudwatch inventory"