Class: Gleis::CLI::Addon

Inherits:
Thor
  • Object
show all
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(options[:app], name)
end

#listObject



13
14
15
# File 'lib/gleis/cli/addon.rb', line 13

def list
  Gleis::Addon.list(options[:app])
end

#remove(name) ⇒ Object



18
19
20
# File 'lib/gleis/cli/addon.rb', line 18

def remove(name)
  Gleis::Addon.remove(options[:app], name)
end