lib/percheron/commands/build.rb in percheron-0.7.12 vs lib/percheron/commands/build.rb in percheron-0.7.13
- old
+ new
@@ -1,13 +1,14 @@
module Percheron
module Commands
class Build < Abstract
default_parameters!
+ option('--forcerm', :flag, 'force removal of intermediate containers', default: false)
def execute
super
- stack.build!(unit_names: unit_names)
+ stack.build!(unit_names: unit_names, forcerm: forcerm?)
end
end
end
end