Sha256: 6c2f33763144763336dfab7f3f014cca53c4f023a4dc9c94a6732d24c9debe85

Contents?: true

Size: 321 Bytes

Versions: 2

Compression:

Stored size: 321 Bytes

Contents

module Percheron
  module Commands
    class Recreate < Abstract

      default_create_parameters!
      option([ '-f', '--force' ], :flag, 'Force purge and create', default: false)

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
percheron-0.7.16 lib/percheron/commands/recreate.rb
percheron-0.7.15 lib/percheron/commands/recreate.rb