lib/aws_ec2/clean.rb in aws-ec2-1.3.1 vs lib/aws_ec2/clean.rb in aws-ec2-1.3.2

- old
+ new

@@ -3,9 +3,10 @@ class Clean < Command desc "ami", "Clean until AMI available." long_desc Help.text("clean:ami") option :keep, type: :numeric, default: 2, desc: "Number of images to keep" + option :noop, type: :boolean, desc: "Noop or dry-run mode" def ami(query) Cleaner::Ami.new(options.merge(query: query)).clean end end end