Skip to main content

run_cli_no_doctor_from

Function run_cli_no_doctor_from 

Source
pub fn run_cli_no_doctor_from<T, I, M, F>(
    spec: &'static ToolSpec,
    env: &ProcessEnv,
    argv: I,
    metadata_command: M,
    run: F,
) -> i32
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).