pub fn parse_args(args: &[String]) -> ArgsExpand description
Parse argv (excluding the program name). Mirrors TS parseArgs.
Long flags accept --name value or --name=value (the TS parser only
handles --name=value for unknown flags; we extend it to known flags for
ergonomics). Short flags use a single leading -.