fn command_shim_script( install_dir: &Path, command_name: &str, target: Option<&ShimTarget>, ) -> String