lib/high_five/cli.rb in high_five-0.0.3 vs lib/high_five/cli.rb in high_five-0.0.4
- old
+ new
@@ -9,15 +9,14 @@
include Thor::Actions
include HighFive::InitTask
include HighFive::DeployTask
include HighFive::AndroidTasks
# source root path for Thor::Actions commands
- source_root(HighFive::ROOT)
+
class_option :version, type: :boolean, desc: "Print version and ext", aliases: "-v"
def initialize(*args)
super
-
if options[:version]
puts "HighFive #{HighFive::VERSION}"
Process.exit(0)
end
end
\ No newline at end of file