Class: CaptainHoog::Cli::Treasury

Inherits:
Thor
  • Object
show all
Includes:
Pull
Defined in:
lib/captain_hoog/cli/treasury.rb

Instance Method Summary collapse

Methods included from Pull

pull_and_clone

Instance Method Details

#pull(repository_url) ⇒ Object



9
10
11
12
# File 'lib/captain_hoog/cli/treasury.rb', line 9

def pull(repository_url)
  path = options[:home] ? options[:home] : CaptainHoog.treasury_path
  pull_and_clone(repository_url, path)
end