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

#aliasObject



51
52
53
54
55
56
57
# File 'lib/esteem/main.rb', line 51

def alias
  aliasing = Alias.new \
    month: options.month,
    year: options.year,
    host: options.host
  return aliasing.success
end

#artObject



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

def art
  puts
  puts ART
  puts
  return nil
end

#reindexObject



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

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

#versionObject



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

def version
  puts VERSION
  return nil
end