parseArgs static method
Implementation
static GlobalConfigNullable parseArgs(List<String> args) {
final results = (ArgParser()
..addFlag('isolation-mode', defaultsTo: null)
..addFlag('enable-report-saver', defaultsTo: null)
..addOption('golden-diff-git-repo', defaultsTo: null))
.parse(args);
return GlobalConfigNullable(
isolationMode: results['isolation-mode'] as bool?,
enableReportSaver: results['enable-report-saver'] as bool?,
goldenDiffGitRepo: results['golden-diff-git-repo'] as String?,
);
}