pub async fn dispatch<C, F, Fut>(
args: &[impl AsRef<str>],
handler: F,
) -> ExecutionResultExpand description
Parses arguments into C and executes handler on the parsed subcommand, returning an
ExecutionResult.
pub async fn dispatch<C, F, Fut>(
args: &[impl AsRef<str>],
handler: F,
) -> ExecutionResultParses arguments into C and executes handler on the parsed subcommand, returning an
ExecutionResult.