Sha256: c3f9f75738fc296f511ecef062fd910d11a7820cd0797e4a7a93918228174cae
Contents?: true
Size: 425 Bytes
Versions: 1
Compression:
Stored size: 425 Bytes
Contents
command 'install' do banner "Install a dotfiles from Github into your home directory." run do |opts, args| unless args.any? puts 'install what?' exit 1 end args.each do |target| repo = Dotfu::Repos.new target puts "Fetching repo #{target}" puts repo.fetch[:out] puts "Installing #{target} to #{repo.target_dir}" repo.install end puts "Complete." end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dotfu-0.1.0 | commands/install.rb |