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



84
85
86
87
# File 'lib/xezat/main.rb', line 84

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

#bump(cygport) ⇒ Object



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

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

#dist(cygport) ⇒ Object



69
70
71
72
# File 'lib/xezat/main.rb', line 69

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

#doctorObject



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

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

#init(cygport) ⇒ Object



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

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

#port(cygport) ⇒ Object



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

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

#prep(cygport) ⇒ Object



91
92
93
94
# File 'lib/xezat/main.rb', line 91

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

#validate(cygport) ⇒ Object



77
78
79
80
# File 'lib/xezat/main.rb', line 77

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

#versionObject



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

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