pub fn locate_subcommand(name: &str) -> Result<Subcommand>
Locates the given subcommand or prints an error.