Class: RubyRaider::PluginCommands
- Inherits:
-
Thor
- Object
- Thor
- RubyRaider::PluginCommands
- 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 |
#list ⇒ Object
28 29 30 |
# File 'lib/commands/plugin_commands.rb', line 28 def list pp Plugin.plugins end |
#local ⇒ Object
22 23 24 |
# File 'lib/commands/plugin_commands.rb', line 22 def local pp Plugin.installed_plugins end |