fn installed_dir_among(dirs: Vec<PathBuf>, cli_command: &str) -> Option<PathBuf>
The first of dirs holding cli_command’s shim — the install a launch would use. Pure over dirs, for tests.
dirs
cli_command