private static CommandLineBuilder BuildCommandLine() { var root = new RootCommand(); root.AddCommand(IndexCommand.Create()); root.AddCommand(SearchCommand.Create()); return(new CommandLineBuilder(root)); }