Class: Pec::Command::List
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.before_do ⇒ Object
10 11 12 |
# File 'lib/pec/command/list.rb', line 10 def self.before_do Thor.new.say("vm list:", :yellow) end |
.task(host_name, options, server, config) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/pec/command/list.rb', line 3 def self.task(host_name, , server, config) puts sprintf( " %-35s", config.name ) end |