Class: Xezat::Main

Inherits:
Thor
  • Object
show all
Includes:
ZshCompletion::Command
Defined in:
lib/xezat/main.rb

Instance Method Summary collapse

Instance Method Details

#announce(cygport) ⇒ Object



74
75
76
77
# File 'lib/xezat/main.rb', line 74

def announce(cygport)
  require 'xezat/command/announce'
  Command::Announce.new(nil, cygport).execute
end

#bump(cygport) ⇒ Object



35
36
37
38
# File 'lib/xezat/main.rb', line 35

def bump(cygport)
  require 'xezat/command/bump'
  Command::Bump.new(options, cygport).execute
end

#doctorObject



46
47
48
49
# File 'lib/xezat/main.rb', line 46

def doctor
  require 'xezat/command/doctor'
  Command::Doctor.new.execute
end

#init(cygport) ⇒ Object



27
28
29
30
# File 'lib/xezat/main.rb', line 27

def init(cygport)
  require 'xezat/command/init'
  Command::Init.new(options, cygport).execute
end

#port(cygport) ⇒ Object



59
60
61
62
# File 'lib/xezat/main.rb', line 59

def port(cygport)
  require 'xezat/command/port'
  Command::Port.new(options, cygport).execute
end

#validate(cygport) ⇒ Object



67
68
69
70
# File 'lib/xezat/main.rb', line 67

def validate(cygport)
  require 'xezat/command/validate'
  Command::Validate.new(options, cygport).execute
end

#versionObject



16
17
18
# File 'lib/xezat/main.rb', line 16

def version
  puts "Xezat #{Xezat::VERSION}"
end