pub fn run(path: Option<&str>, fix: bool) -> Result<()>Expand description
Run the doctor command.
path is whatever the user typed, already tilde-expanded. None means the global
installation; Some(".") is an ordinary path like any other. fix applies the
repairs the installation check found; clap refuses --fix alongside a path, because
the repository check has nothing it could safely repair.