Skip to content

Commit 2a6c97b

Browse files
authored
Add configurable category to FormatCommand (#1735)
1 parent 90227c5 commit 2a6c97b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/src/cli/format_command.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ final class FormatCommand extends Command<int> {
2525
String get invocation =>
2626
'${runner!.executableName} $name [options...] <files or directories...>';
2727

28-
FormatCommand({bool verbose = false}) {
28+
@override
29+
final String category;
30+
31+
FormatCommand({bool verbose = false, this.category = ''}) {
2932
argParser.addFlag(
3033
'verbose',
3134
abbr: 'v',

0 commit comments

Comments
 (0)