Sha256: 47a93714b897743b22afe4f1e7411f5e23c04bc63514f697ce32bd54f1dc35ed

Contents?: true

Size: 342 Bytes

Versions: 2

Compression:

Stored size: 342 Bytes

Contents

module Percheron
  module CLI
    class RecreateCommand < AbstractCommand

      parameter 'STACK_NAME', 'stack name'

      option "--force", :flag, 'Force recreation', default: false

      def execute
        Percheron::Stack.new(config, stack_name).recreate!(force_recreate: force?, force_auto_recreate: true)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
percheron-0.5.0 lib/percheron/cli/recreate_command.rb
percheron-0.4.0 lib/percheron/cli/recreate_command.rb