Exemple #1
0
 public GenDocCommandHandler(IFileManager fileManager, IPublicCommandResolver commandResolver, IHelpProvider helpProvider, MarkdownHelpFormatter helpFormatter)
 {
     _fileManager   = fileManager;
     _helpProvider  = helpProvider;
     _helpFormatter = helpFormatter;
     _commands      = commandResolver.Resolve().OrderBy(command => command.Name());
 }
 public ListCommandsHandler(IPublicCommandResolver commandResolver, IOutput output)
 {
     _commands = commandResolver.Resolve();
     _output   = output;
 }