pub fn run_cli_no_doctor_from<T, I, M, F>(
spec: &'static ToolSpec,
env: &ProcessEnv,
argv: I,
metadata_command: M,
run: F,
) -> i32where
T: CommandFactory + FromArgMatches,
I: IntoIterator,
I::Item: Into<OsString> + Clone,
M: FnOnce(&T) -> Option<StandardCommand>,
F: FnOnce(T) -> Result<i32, FatalCliError>,Expand description
Parse caller-provided argv, route shared metadata commands, and run the domain handler for a tool without doctor support.
env carries the process-edge environment reads (agent tokens, HOME)
performed in the binary’s main (REPO_INVARIANTS.md #5).