Class: Cachivache::AddStuffLibrariesCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/cachivache/add-stuff-libraries-command.rb

Instance Method Summary collapse

Methods inherited from Command

#current_folder, #gem_folder, #inform, #raise_error, run, #validate_cachivache_folder

Instance Method Details

#run(library_repo) ⇒ Object



6
7
8
9
10
# File 'lib/cachivache/add-stuff-libraries-command.rb', line 6

def run(library_repo)
  validate_cachivache_folder

  system "git submodule add --force #{library_repo}"
end