pub fn write_plugin_entry( config_path: &Path, target: &InstallTarget, force: bool, ) -> Result<(), String>