From adf1c45a089a152824b28d4e1bd955993ecde591 Mon Sep 17 00:00:00 2001 From: Alejandro Santiago Date: Mon, 19 Aug 2024 11:17:00 +0100 Subject: [PATCH 1/3] chore: tighten example dependencies --- example/pubspec.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index d3a9574..1f4da0b 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -7,14 +7,14 @@ environment: sdk: ">=3.4.0 <4.0.0" dependencies: - args: ^2.3.1 + args: ^2.5.0 cli_completion: path: ../ - mason_logger: ^0.2.2 + mason_logger: ^0.2.16 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: From 2300ca786c9a5e5296631f799604c8b429f1739c Mon Sep 17 00:00:00 2001 From: Alejandro Santiago Date: Mon, 19 Aug 2024 11:21:14 +0100 Subject: [PATCH 2/3] chore: bump mason_logger and sdk --- example/pubspec.yaml | 4 ++-- pubspec.yaml | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 1f4da0b..5c0c641 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -4,13 +4,13 @@ version: 0.0.1 publish_to: none environment: - sdk: ">=3.4.0 <4.0.0" + sdk: ^3.5.0 dependencies: args: ^2.5.0 cli_completion: path: ../ - mason_logger: ^0.2.16 + mason_logger: ^0.3.0 dev_dependencies: mocktail: ^1.0.4 diff --git a/pubspec.yaml b/pubspec.yaml index 6a99b90..8caf2ae 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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 From 8b24c70270590a23e9d3f33d99979fd253b0f17b Mon Sep 17 00:00:00 2001 From: Alejandro Santiago Date: Mon, 19 Aug 2024 11:24:14 +0100 Subject: [PATCH 3/3] chore: resolve analysis warnings --- lib/src/command_runner/completion_command_runner.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/src/command_runner/completion_command_runner.dart b/lib/src/command_runner/completion_command_runner.dart index e619764..b226ea7 100644 --- a/lib/src/command_runner/completion_command_runner.dart +++ b/lib/src/command_runner/completion_command_runner.dart @@ -139,10 +139,8 @@ abstract class CompletionCommandRunner extends CommandRunner { completionLogger.info( '$suggestion${description != null ? ':$description' : ''}', ); - break; case SystemShell.bash: completionLogger.info(entry.key); - break; } } }