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



154
155
156
157
# File 'lib/mason/cli.rb', line 154

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

#uninstall(name) ⇒ Object



161
162
163
164
# File 'lib/mason/cli.rb', line 161

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