Esempio n. 1
0
 private void remove(string[] args)
 {
     var source = args[1];
     var installer = new Installer(_token, _sourcePrioritization, _dispatch, _locator());
     installer.Remove(source);
     _dispatch("event|builtin package removed \"" + source + "\"");
 }
Esempio n. 2
0
 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] + "\"");
 }
Esempio n. 3
0
 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] + "\"");
 }