Skip to content

Commit b6c2c7f

Browse files
committed
feat: add command runner constructor arguments
1 parent abded18 commit b6c2c7f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.idea/misc.xml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/command_runner/completion_command_runner.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ import 'package:meta/meta.dart';
2222
/// manually install completion files.
2323
abstract class CompletionCommandRunner<T> extends CommandRunner<T> {
2424
/// {@macro completion_command_runner}
25-
CompletionCommandRunner(super.executableName, super.description) {
25+
CompletionCommandRunner(
26+
super.executableName,
27+
super.description, {
28+
super.usageLineLength,
29+
super.suggestionDistanceLimit,
30+
}) {
2631
addCommand(HandleCompletionRequestCommand<T>());
2732
addCommand(InstallCompletionFilesCommand<T>());
2833
addCommand(UnistallCompletionFilesCommand<T>());

0 commit comments

Comments
 (0)