class DitCMD

This is the thor class the CLI calls. It’s a thin layer on top of the Dit class. See above.

Public Instance Methods

clean() click to toggle source
# File lib/dit.rb, line 219
def clean
  Dit.clean_home
end
init() click to toggle source
# File lib/dit.rb, line 204
def init
  Dit.init
end
rehash() click to toggle source
# File lib/dit.rb, line 209
def rehash
  Dit.symlink_all
end
version() click to toggle source
# File lib/dit.rb, line 214
def version
  puts "Dit #{Dit.version} on ruby #{RUBY_VERSION}"
end