Sha256: 779d821e8c8690186ac18e2bf92ced4dde2285bcb0be309b4e248652dc7e958d
Contents?: true
Size: 334 Bytes
Versions: 2
Compression:
Stored size: 334 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" def ami(query) Cleaner::Ami.new(options.merge(query: query)).clean end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aws-ec2-1.3.1 | lib/aws_ec2/clean.rb |
aws-ec2-1.3.0 | lib/aws_ec2/clean.rb |