Class: Mason::CLI::Buildpacks

Inherits:
Thor
  • Object
show all
Defined in:
lib/mason/cli.rb

Instance Method Summary collapse

Instance Method Details

#install(url) ⇒ Object



149
150
151
152
# File 'lib/mason/cli.rb', line 149

def install(url)
  puts "* installing buildpack #{url}"
  Mason::Buildpacks.install url
end

#uninstall(name) ⇒ Object



156
157
158
159
# File 'lib/mason/cli.rb', line 156

def uninstall(name)
  puts "* uninstalling buildpack #{name}"
  Mason::Buildpacks.uninstall name
end