Class: RubyRaider::PluginCommands
- Inherits:
-
Thor
- Object
- Thor
- RubyRaider::PluginCommands
- Defined in:
- lib/commands/plugin_commands.rb
Overview
:reek:FeatureEnvy { enabled: false } :reek:UtilityFunction { enabled: false }
Instance Method Summary collapse
Instance Method Details
#add(plugin_name) ⇒ Object
12 13 14 |
# File 'lib/commands/plugin_commands.rb', line 12 def add(plugin_name) Plugin.add_plugin(plugin_name) end |
#delete(plugin_name) ⇒ Object
18 19 20 |
# File 'lib/commands/plugin_commands.rb', line 18 def delete(plugin_name) Plugin.delete_plugin(plugin_name) end |
#list ⇒ Object
30 31 32 |
# File 'lib/commands/plugin_commands.rb', line 30 def list pp Plugin.plugins end |
#local ⇒ Object
24 25 26 |
# File 'lib/commands/plugin_commands.rb', line 24 def local pp Plugin.installed_plugins end |