DangerWrapperCommand constructor

DangerWrapperCommand(
  1. DangerUtil dangerUtil
)

Implementation

DangerWrapperCommand(this.dangerUtil) {
  argParser.addOption('dangerfile',
      defaultsTo: 'dangerfile.dart', help: 'Location of dangerfile');

  argParser.addOption('danger-js-path', help: 'Path to dangerJS');
  argParser.addFlag('failOnErrors',
      defaultsTo: false,
      negatable: false,
      help: 'Fail if there are fails in the danger report');
  argParser.addFlag('debug', defaultsTo: false, negatable: false);
  argParser.addFlag('verbose', defaultsTo: false, negatable: false);
}