Class: Minfra::Cli::Plugin
Instance Method Summary
collapse
Methods included from Logging
#debug, #deprecated, #error, #exit_error, #info, #warn
Methods included from Common
#run_cmd
Instance Method Details
#describe ⇒ Object
7
8
9
10
11
|
# File 'lib/minfra/cli/commands/plugin.rb', line 7
def describe
Minfra::Cli.cli.plugins.each do |plugin|
puts "#{plugin.name} (#{plugin.version})"
end
end
|
#install ⇒ Object
13
14
15
16
17
18
|
# File 'lib/minfra/cli/commands/plugin.rb', line 13
def install
Minfra::Cli.cli.plugins.each do |plugin|
puts "setup: #{plugin.name}"
plugin.install
end
end
|