Class: DitCMD
- Inherits:
-
Thor
- Object
- Thor
- DitCMD
- Defined in:
- lib/dit.rb
Overview
This is the thor class the CLI calls. It’s a thin layer on top of the Dit class. See above.
Instance Method Summary collapse
Instance Method Details
#clean ⇒ Object
219 220 221 |
# File 'lib/dit.rb', line 219 def clean Dit.clean_home end |
#init ⇒ Object
204 205 206 |
# File 'lib/dit.rb', line 204 def init Dit.init end |
#rehash ⇒ Object
209 210 211 |
# File 'lib/dit.rb', line 209 def rehash Dit.symlink_all end |
#version ⇒ Object
214 215 216 |
# File 'lib/dit.rb', line 214 def version puts "Dit #{Dit.version} on ruby #{RUBY_VERSION}" end |