pub fn parse(spec: &Spec, input: &[String]) -> Result<ParseOutput, Error>Expand description
Parse command-line arguments according to a spec.
Returns the parsed arguments and flags, with defaults and env vars applied.
Uses std::env::var for environment variable lookups.
For custom environment variable handling, use Parser instead.