Example #1
0
 public CommandBase(Logger logger)
 {
     _logger = logger;
     this.HasOption("debug", "Enable debugging", s => _isInDebugMode = true);
     this.AllowsAnyAdditionalArguments("Reports to analyze");
 }
Example #2
0
 protected CommandBase(Logger logger)
 {
     Logger = logger;
     HasOption("debug", "Enable debugging", s => _isInDebugMode = true);
     AllowsAnyAdditionalArguments("Reports to analyze");
 }