Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ version: 0.0.1
publish_to: none

environment:
sdk: ">=3.4.0 <4.0.0"
sdk: ^3.5.0

dependencies:
args: ^2.3.1
args: ^2.5.0
cli_completion:
path: ../
mason_logger: ^0.2.2
mason_logger: ^0.3.0

dev_dependencies:
mocktail: ^1.0.0
test: ^1.25.0
mocktail: ^1.0.4
test: ^1.25.8
very_good_analysis: ^6.0.0

executables:
Expand Down
2 changes: 0 additions & 2 deletions lib/src/command_runner/completion_command_runner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,8 @@ abstract class CompletionCommandRunner<T> extends CommandRunner<T> {
completionLogger.info(
'$suggestion${description != null ? ':$description' : ''}',
);
break;
case SystemShell.bash:
completionLogger.info(entry.key);
break;
}
}
}
Expand Down
18 changes: 9 additions & 9 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ repository: https://github.com/VeryGoodOpenSource/cli_completion
issue_tracker: https://github.com/VeryGoodOpenSource/cli_completion/issues
topics: [cli, completion, shell, bash, autocomplete]
screenshots:
- description: 'This screenshot shows the completion of a dart CLI.'
- description: "This screenshot shows the completion of a dart CLI."
path: doc/screen.png

environment:
sdk: ">=2.18.0 <4.0.0"
sdk: ^3.5.0

dependencies:
args: ^2.3.1
args: ^2.5.0
equatable: ^2.0.5
mason_logger: ^0.2.2
meta: ^1.8.0
path: ^1.8.2
mason_logger: ^0.3.0
meta: ^1.15.0
path: ^1.9.0

dev_dependencies:
mocktail: ^1.0.0
test: ^1.24.6
very_good_analysis: ">=5.1.0 <7.0.0"
mocktail: ^1.0.4
test: ^1.25.8
very_good_analysis: ^6.0.0