lib/ruby/dots/command.rb in zsh_dots-0.5.4 vs lib/ruby/dots/command.rb in zsh_dots-0.5.5
- old
+ new
@@ -7,11 +7,11 @@
include Thor::Actions, Dots::Persistence, Dots::Installation, Dots::Bootstrap
default_task :usage
desc :usage, "Show usage information"
def usage
- say Dots::USAGE_INFORMATION and help
+ say Dots.usage_information and help
end
desc :install, "Copies DOTS to your home directory."
def install
copy_to_home_directory and link_dot_files
@@ -22,10 +22,10 @@
update_the_framework
end
desc :version, "Show the current version of DOTS"
def version
- say "DOTS version #{Dots::VERSION} - http://tubbo.github.com/dots"
+ say dots_version
end
desc :link, "Symlink your ~/.dots/config into dotfiles"
def link
link_dot_files