parseHeadlessMode static method

GlobalConfigNullable parseHeadlessMode()

Implementation

static GlobalConfigNullable parseHeadlessMode() {
  return GlobalConfigNullable(
    // when running the headless binary, we want to save the colorful report such that we can read it later with GUI
    // thus, it [defaultsTo] *true* instead of null
    enableReportSaver: true,
  );
}