Class: AuPair::CLI

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

Instance Method Summary collapse

Instance Method Details

#add(name) ⇒ Object



7
8
9
10
11
# File 'lib/au_pair/cli.rb', line 7

def add(name)
  setup = AuPair::Setup.new
  setup.add name
  puts "You can now pull from #{name.capitalize}'s repo with 'git pull #{name} master'"
end