29 30 31
# File 'lib/dotpack/cli/app.rb', line 29 def clear Runner.clear end
14 15 16 17 18 19 20
# File 'lib/dotpack/cli/app.rb', line 14 def relink Runner.clear runner = Runner.new Package.all.each do |package| runner.start package end end
23 24 25 26
# File 'lib/dotpack/cli/app.rb', line 23 def update repos = Dotpack::Repo.all relink if repos.map(&:update).any? end