Sha256: 7649142a51833b455c45e4d770650ff15145524afb283755a860bf7e3f6d9d32

Contents?: true

Size: 295 Bytes

Versions: 10

Compression:

Stored size: 295 Bytes

Contents

module Percheron
  module Commands
    class Purge < Abstract

      default_parameters!
      option([ '-f', '--force' ], :flag, 'Force unit/image removal', default: false)

      def execute
        super
        stack.purge!(unit_names: unit_names, force: force?)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
percheron-0.7.16 lib/percheron/commands/purge.rb
percheron-0.7.15 lib/percheron/commands/purge.rb
percheron-0.7.14 lib/percheron/commands/purge.rb
percheron-0.7.13 lib/percheron/commands/purge.rb
percheron-0.7.12 lib/percheron/commands/purge.rb
percheron-0.7.11 lib/percheron/commands/purge.rb
percheron-0.7.10 lib/percheron/commands/purge.rb
percheron-0.7.9 lib/percheron/commands/purge.rb
percheron-0.7.8 lib/percheron/commands/purge.rb
percheron-0.7.7 lib/percheron/commands/purge.rb