Class: Gleis::CLI::Addon
- Inherits:
-
Thor
- Object
- Thor
- Gleis::CLI::Addon
- Defined in:
- lib/gleis/cli/addon.rb
Overview
Add-ons-related CLI commands
Instance Method Summary collapse
Instance Method Details
#add(name) ⇒ Object
8 9 10 |
# File 'lib/gleis/cli/addon.rb', line 8 def add(name) Gleis::Addon.add([:app], name) end |
#list ⇒ Object
13 14 15 |
# File 'lib/gleis/cli/addon.rb', line 13 def list Gleis::Addon.list([:app]) end |
#remove(name) ⇒ Object
18 19 20 |
# File 'lib/gleis/cli/addon.rb', line 18 def remove(name) Gleis::Addon.remove([:app], name) end |