private void update(string[] args) { var useGlobal = globalSpecified(ref args); var installer = new Installer(_token, _sourcePrioritization, _dispatch, _locator()); installer.UseGlobalProfiles(useGlobal); installer.Update(args[1]); _dispatch("event|builtin package updated \"" + args[1] + "\""); }
private void install(string[] args) { var useGlobal = globalSpecified(ref args); var installer = new Installer(_token, _dispatch, _locator()); installer.UseGlobalProfiles(useGlobal); installer.Install(args[1]); _dispatch("event|builtin package installed \"" + args[1] + "\""); }