예제 #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 + "\"");
 }
예제 #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] + "\"");
 }
예제 #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] + "\"");
 }