Example #1
0
 public CommandCompletionGenerator(string appName, ApplicationPipline pipeline)
 {
     AppName  = appName;
     Pipeline = pipeline;
 }
Example #2
0
 public static ApplicationPipline Add(this ApplicationPipline pipline, string name, string alias, Func <string, Func <Task>, Task> executeHandler)
 {
     return(pipline.Add(new DelegateCommand(name, alias, executeHandler)));
 }