Class: Wakame::Command::ShutdownCluster

Inherits:
Object
  • Object
show all
Includes:
Wakame::Command
Defined in:
lib/wakame/command/shutdown_cluster.rb

Instance Method Summary collapse

Methods included from Wakame::Command

included, #print_result

Instance Method Details

#parse(args) ⇒ Object



8
9
# File 'lib/wakame/command/shutdown_cluster.rb', line 8

def parse(args)
end

#run(rule) ⇒ Object



11
12
13
# File 'lib/wakame/command/shutdown_cluster.rb', line 11

def run(rule)
  rule.trigger_action(Wakame::Actions::ShutdownCluster.new)
end