Sha256: 91cc5d399e4d242638e3f26f55e490934e68b208eea266445aa0196df2cfe7fd
Contents?: true
Size: 452 Bytes
Versions: 3
Compression:
Stored size: 452 Bytes
Contents
command 'uninstall' do banner "Uninstall dotfiles from 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 unless repo.installed? puts "#{target} is not installed." exit end puts "Uninstalling #{target} from #{repo.target_dir}" repo.uninstall end puts "Complete." end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dotfu-0.2.0 | commands/uninstall.rb |
dotfu-0.1.1 | commands/uninstall.rb |
dotfu-0.1.0 | commands/uninstall.rb |