public CompletableReadLine(CommandNode rootCommandNode)
 {
     this.rootCommandNode = rootCommandNode;
     builder           = new StringBuilder();
     lastUserInput     = string.Empty;
     activeCompletions = rootCommandNode.Children;
 }
示例#2
0
 public CommandLoop(IOutputService outputService, CommandNode rootCommandNode)
 {
     this.outputService   = outputService;
     this.rootCommandNode = rootCommandNode;
 }