Sha256: 832e4f89138688f04f158037a03ccc10da7b0989b234f1aad61ee56bc969336d

Contents?: true

Size: 310 Bytes

Versions: 4

Compression:

Stored size: 310 Bytes

Contents

module Percheron
  module Commands
    class Purge < Abstract

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
percheron-0.7.6 lib/percheron/commands/purge.rb
percheron-0.7.5 lib/percheron/commands/purge.rb
percheron-0.7.4 lib/percheron/commands/purge.rb
percheron-0.7.3 lib/percheron/commands/purge.rb