Class: Esteem::Main

Inherits:
Thor
  • Object
show all
Includes:
Helpers
Defined in:
lib/esteem/main.rb

Overview

Esteem’s entrypoint.

Instance Method Summary collapse

Methods included from Helpers

#actions, #old_puts, #puts, #util

Instance Method Details

#artObject



24
25
26
27
28
29
# File 'lib/esteem/main.rb', line 24

def art
  puts
  puts ART
  puts
  return nil
end

#reindexObject



37
38
39
40
41
42
43
44
# File 'lib/esteem/main.rb', line 37

def reindex
  reindex = Reindex.new \
    update: options.update?,
    frame: options.frame,
    src: options.source,
    dst: options.destination
  return reindex.success
end

#versionObject



17
18
19
20
# File 'lib/esteem/main.rb', line 17

def version
  puts VERSION
  return nil
end