FormatCommand constructor
FormatCommand({})
Implementation
FormatCommand({
List<String> excludeGlob = const [],
this.defaultLineLength = 80,
this.formatGenerated = true,
}) : excludeGlob = [
...excludeGlob,
if (!formatGenerated) ..._generatedCodeFiles,
] {
argParser.addOption(
'package',
abbr: 'p',
);
argParser.addFlag(
'verify',
help:
'Only verifies that all code is formatted, does not actually format it',
);
}