class Dotman::Notification
Public Class Methods
already_cloned()
click to toggle source
# File lib/dotman/notification.rb, line 16 def self.already_cloned STDOUT.puts "Dotfiles were already cloned" end
collecting()
click to toggle source
# File lib/dotman/notification.rb, line 20 def self.collecting STDOUT.puts "collecting..." end
copying_to_dotfiles(file)
click to toggle source
# File lib/dotman/notification.rb, line 24 def self.copying_to_dotfiles(file) STDOUT.puts "copied #{file} to dotfiles" end
display_all_aliases()
click to toggle source
# File lib/dotman/notification.rb, line 28 def self.display_all_aliases STDOUT.puts Dotman::DotfileCollection.all_aliases.join("\n") end
display_current_user()
click to toggle source
# File lib/dotman/notification.rb, line 36 def self.display_current_user STDOUT.puts Dotman::User.current_user_alias end
dotfile_collection_not_found(alias_name)
click to toggle source
# File lib/dotman/notification.rb, line 32 def self.dotfile_collection_not_found(alias_name) STDOUT.puts "Dotfile collection not found for #{alias_name}" end
show_help()
click to toggle source
# File lib/dotman/notification.rb, line 3 def self.show_help STDOUT.puts "USAGE: dot clone <git_repository> <alias> : clone the dotfiles repo dot use <alias> : use the dotfiles dot list : lists all downloaded dotfile aliases dot use default : switch to the default dot files dot delete <alias> : delete dotfile collection dot collect : collects all dot files within a directory called dotfiles dot alias rename <old alias> <new alias> : changes alias from old to new dot alias list : same as dot list dot current: shows the current dotfile user" end