lib/invoker/runner.rb in invoker-1.0.2 vs lib/invoker/runner.rb in invoker-1.0.3

- old
+ new

@@ -12,10 +12,12 @@ end def self.run_command(selected_command) return unless selected_command case selected_command.command + when 'version' + emit_version when 'setup' setup_pow(selected_command) when 'uninstall' uninstall_pow(selected_command) when 'start' @@ -29,9 +31,13 @@ when 'remove' remove_command(selected_command) else Invoker::Logger.puts "Invalid command" end + end + + def self.emit_version + Invoker::Logger.puts Invoker::VERSION end def self.setup_pow(selected_command) Invoker::Power::Setup.install() end