Class: HighFive::Cli
- Inherits:
-
Thor
- Object
- Thor
- HighFive::Cli
- Includes:
- AndroidTasks, DeployTask, DistTask, InitTask, Thor::Actions
- Defined in:
- lib/high_five/cli.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ Cli
constructor
A new instance of Cli.
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 [:version] puts "HighFive #{HighFive::VERSION}" Process.exit(0) end end |