lib/percheron/commands/recreate.rb in percheron-0.7.14 vs lib/percheron/commands/recreate.rb in percheron-0.7.15
- old
+ new
@@ -1,13 +1,14 @@
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?)
+ stack.recreate!(unit_names: unit_names, start: start?, force: force?)
end
end
end
end