Class: Braid::Commands::Update

Inherits:
Braid::Command show all
Defined in:
lib/braid/commands/update.rb

Instance Method Summary collapse

Methods inherited from Braid::Command

#config, #force?, msg, #msg, run, #verbose?

Methods included from Operations::VersionControl

#git, #git_cache

Instance Method Details

#run(path, options = {}) ⇒ Object



4
5
6
# File 'lib/braid/commands/update.rb', line 4

def run(path, options = {})
  path ? update_one(path, options) : update_all(options)
end