Class: Busser::Command::PluginList

Inherits:
Thor::BaseGroup show all
Defined in:
lib/busser/command/plugin_list.rb

Overview

Plugin list command.

Author:

Instance Method Summary collapse

Methods included from UI

banner, die, fatal, handle_command, info, run!, run_ruby_script!, status, warn

Methods included from Helpers

chef_apply, install_gem, root_path, suite_path, vendor_path

Instance Method Details

#listObject



32
33
34
35
36
37
38
# File 'lib/busser/command/plugin_list.rb', line 32

def list
  if plugin_data.empty?
    say "No plugins installed yet"
  else
    print_table([["Plugin", "Version"]] + plugin_data)
  end
end