Method: Xnlogic::CLI.handle_no_command_error

Defined in:
lib/xnlogic/cli.rb

.handle_no_command_error(command, has_namespace = $thor_runner) ⇒ Object



53
54
55
56
# File 'lib/xnlogic/cli.rb', line 53

def self.handle_no_command_error(command, has_namespace = $thor_runner)
  return super unless command_path = Xnlogic.which("xnlogic-#{command}")
  Kernel.exec(command_path, *ARGV[1..-1])
end