dispatch_to

Function dispatch_to 

Source
pub fn dispatch_to<Ctx: ?Sized, W: Write>(
    env: &Env<'_>,
    root: &CmdSpec<'_, Ctx>,
    argv: &[&str],
    context: &mut Ctx,
    out: &mut W,
) -> Result<()>
Expand description

Parse and dispatch starting from root using argv (not including program name), writing auto help/version/author output to out when triggered.

ยงErrors

See Error