pub fn parse(model: &[Record]) -> ResolutionExpand description
Parse the current process’s argument vector and environment against a
declared model, returning a fully resolved Resolution.
This is the one-liner for the common case — no manual argv slicing,
no Invocation construction, no ProcessEnv import needed:
let model = vec![HOST.to_record()];
let resolution = argenv_resolve::parse(&model);
let host = HOST.get_from(&resolution);For tests, inject specific args and env via Invocation directly
rather than mutating global process state.