pub fn parse(spec: &Spec, input: &[String]) -> Result<ParseOutput, Error>
Parse command-line arguments according to a spec.
Returns the parsed arguments and flags, with defaults and env vars applied.