Class: Pec::Command::List
- Inherits:
-
Base
- Object
- Base
- Pec::Command::List
show all
- Defined in:
- lib/pec/command/list.rb
Class Method Summary
collapse
Methods inherited from Base
after_do, print_exception, run
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
|
.not_fetch ⇒ Object
14
15
16
|
# File 'lib/pec/command/list.rb', line 14
def self.not_fetch
true
end
|
.task(server, config) ⇒ Object
3
4
5
6
7
8
|
# File 'lib/pec/command/list.rb', line 3
def self.task(server, config)
puts sprintf(
" %-35s",
config.name
)
end
|