DoctorCommand constructor

DoctorCommand()

Implementation

DoctorCommand() {
  argParser
    ..addMultiOption(
      'suspect',
      help: 'Skip the baseline run and diagnose these files directly. '
          'Repeat the flag for multiple files.',
    )
    ..addOption(
      'max-victims',
      help: 'Maximum number of failing files to bisect.',
      defaultsTo: '5',
    )
    ..addFlag(
      'json',
      help: 'Also write a machine-readable report to .testRocket/doctor.json',
      negatable: false,
    )
    ..addOption(
      'output',
      abbr: 'o',
      help: 'Path for the markdown report file. '
          'Defaults to .testRocket/doctor.md.',
    );
}