Skip to main content

auto_dispatch

Function auto_dispatch 

Source
pub fn auto_dispatch(path: &Path, args: &[String]) -> Result<&'static str>
Expand description

Sniff path, look up its runner in the registry, and run it with args.

args should be the per-runner argv without the leading subcommand. Returns the runner name that was dispatched to.