Class: HighFive::Cli

Inherits:
Thor
  • Object
show all
Includes:
AndroidTasks, DeployTask, DistTask, InitTask, Thor::Actions
Defined in:
lib/high_five/cli.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Cli

Returns a new instance of Cli.



14
15
16
17
18
19
20
# File 'lib/high_five/cli.rb', line 14

def initialize(*args)
  super
  if options[:version]
    puts "HighFive #{HighFive::VERSION}" 
    Process.exit(0)
  end
end