pub fn split_at_subcommand(
argv: &[OsString],
value_options: &HashSet<String>,
bool_options: &HashSet<String>,
) -> (Vec<OsString>, Vec<OsString>)Expand description
Split argv into (global_args, tool_args) at the first positional subcommand.
Mirrors Python _split_at_subcommand so tool flags like --env are not
swallowed by the global parser (upstream GH #15).