Class: Zimt::CLI

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

Instance Method Summary collapse

Instance Method Details

#add(name) ⇒ Object



4
5
6
7
8
9
# File 'lib/zimt/cli.rb', line 4

def add(name)
  sprinkle = Sprinkle.get(name)
  sprinkle.install
rescue OpenURI::HTTPError
  puts 'Sprinkle not found'
end