Function dispatch_to
Source pub fn dispatch_to<U, W: Write>(
env: &Env<'_>,
root: &CmdSpec<'_, U>,
argv: &[&str],
user: &mut U,
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