Class: Percheron::Commands::Purge

Inherits:
Abstract
  • Object
show all
Defined in:
lib/percheron/commands/purge.rb

Instance Method Summary collapse

Methods inherited from Abstract

#config, default_parameters!, #runit, #stack

Instance Method Details

#executeObject



9
10
11
12
# File 'lib/percheron/commands/purge.rb', line 9

def execute
  super
  runit { stack.purge!(unit_names: unit_names, force: force?) if yes? || confirm? }
end