Sha256: 2a4f1569730e3cdeaace1ec7434389e1ebc8dce64820531b5be2def714466acc
Contents?: true
Size: 357 Bytes
Versions: 3
Compression:
Stored size: 357 Bytes
Contents
module Forger 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
forger-3.0.2 | lib/forger/clean.rb |
forger-3.0.1 | lib/forger/clean.rb |
forger-3.0.0 | lib/forger/clean.rb |