Version sub-commands
10 11 12 13 14 15 16 17 18 19
# File 'lib/mihari/commands/version.rb', line 10 def included(thor) thor.class_eval do map %w[--version -v] => :__print_version desc "--version, -v", "Print the version" def __print_version puts Mihari::VERSION end end end