neuralib.argp.dispatch.invoke_group_command

neuralib.argp.dispatch.invoke_group_command(host, group, command, *args, **kwargs)[source]

invoke a dispatch-decoratored function in certain group.

Parameters:
  • host (T)

  • group (str) – dispatch group

  • command (str) – command or command alias

  • args – dispatch-decoratored function positional arguments

  • kwargs – dispatch-decoratored function keyword arguments

Returns:

function return

Raises:

DispatchCommandNotFound

Return type:

Any