Sha256: dc9a587dbea7619849741447ffda60a35fe348dd4d03c77808781e8f29e21b72
Contents?: true
Size: 397 Bytes
Versions: 11
Compression:
Stored size: 397 Bytes
Contents
module AwsEc2 autoload :Cleaner, 'aws_ec2/cleaner' 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
Version data entries
11 entries across 11 versions & 1 rubygems