Skip to main content

run

Function run 

Source
pub fn run(api: Option<&str>, auth: Option<&str>) -> Vec<Check>
Expand description

Runs every check.

api and auth are passed in rather than discovered here so the caller’s own resolution — the .choir/config walk, the --auth-file flag — is the one being reported on. A doctor that resolves its inputs differently from the commands it is diagnosing is checking a configuration nobody runs.