Class: RubyRaider::PluginCommands

Inherits:
Thor
  • Object
show all
Defined in:
lib/commands/plugin_commands.rb

Instance Method Summary collapse

Instance Method Details

#add(plugin_name) ⇒ Object



10
11
12
# File 'lib/commands/plugin_commands.rb', line 10

def add(plugin_name)
  Plugin.add_plugin(plugin_name)
end

#delete(plugin_name) ⇒ Object



16
17
18
# File 'lib/commands/plugin_commands.rb', line 16

def delete(plugin_name)
  Plugin.delete_plugin(plugin_name)
end

#listObject



28
29
30
# File 'lib/commands/plugin_commands.rb', line 28

def list
  pp Plugin.plugins
end

#localObject



22
23
24
# File 'lib/commands/plugin_commands.rb', line 22

def local
  pp Plugin.installed_plugins
end