neuralib.argp.dispatch.find_command

neuralib.argp.dispatch.find_command(host, command, group=<object object>)[source]

find dispatch-decoratored function in host according to command.

Parameters:
  • host (T)

  • command (str) – command or command alias

  • group (str | None) – dispatch group

Returns:

found DispatchCommand

Return type:

DispatchCommand | None