Skip to main content

run_doctor

Function run_doctor 

Source
pub async fn run_doctor(config: &Config, json: bool) -> Result<()>
Expand description

Run the doctor command.

Executes all pre-flight checks in order and prints a summary. Exits with code 1 if any check fails; 0 if all pass.

§CUSTOMIZE

This function is the canonical §48 implementation. Add calls to new check_* functions below to extend the set of checks for your service.