pub async fn run_from_args<I, T>(argv: I) -> i32Expand description
Run the tool from an argv-style iterator, returning its exit code.
0 means the broker accepted the request. 1 means it refused one, and the
reason is on stderr. 2 means the broker could not be reached, so nothing
is known about the outcome. 3 means the registry names an operator key
this machine does not hold. 4 means the action needs a break-glass
approval that does not exist. 5 means a signature did not verify.
ยงPanics
Panics if argv does not parse, which for a caller passing a literal
argument list is a bug in that list rather than a runtime condition.