fn reuse_or_clear(dir: &Path, cli_command: &str) -> Result<bool, String>Expand description
Reuse only a FINISHED install (completion marker, not just a shim npm may
have written early); clear a failed or interrupted one. Ok(true): there is
a finished install to reuse.