ParsedArguments.fromArgsNoMetrics constructor

ParsedArguments.fromArgsNoMetrics(
  1. ArgResults argResults
)

Implementation

factory ParsedArguments.fromArgsNoMetrics(ArgResults argResults) =>
    ParsedArguments(
      excludePath: argResults[FlagNames.exclude] as String,
      rootFolder: argResults[FlagNames.rootFolder] as String,
      jsonReportPath: argResults[FlagNames.jsonReportPath] as String?,
      shouldPrintConfig: argResults[FlagNames.printConfig] as bool,
      metricsConfig: {},
    );