From bfe54b75ee1cd2f1b53ec4d499d2a226ae466b6e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Mar 2026 05:48:05 +0000 Subject: [PATCH 1/2] Bump the spectre group with 2 updates Bumps Spectre.Console from 0.50.0 to 0.54.0 Bumps Spectre.Console.Cli from 0.50.0 to 0.53.1 --- updated-dependencies: - dependency-name: Spectre.Console dependency-version: 0.54.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: spectre - dependency-name: Spectre.Console.Cli dependency-version: 0.53.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: spectre ... Signed-off-by: dependabot[bot] --- Directory.Packages.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 4320e38..be7e2a6 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -17,12 +17,12 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all From be14c5ff7e34cb6f4158c5eccd8b3636523fd19e Mon Sep 17 00:00:00 2001 From: Simon McKenna Date: Wed, 4 Mar 2026 16:48:53 +1030 Subject: [PATCH 2/2] Add `CancellationToken` support to all command `Execute` methods --- LeetCode/Commands/AppCommand.cs | 2 +- LeetCode/Commands/BenchmarkCommand.cs | 3 ++- LeetCode/Commands/InfoCommand.cs | 3 ++- LeetCode/Commands/ListCommand.cs | 2 +- LeetCode/Commands/WorkflowCommand.cs | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/LeetCode/Commands/AppCommand.cs b/LeetCode/Commands/AppCommand.cs index 9b3eb62..afdd416 100644 --- a/LeetCode/Commands/AppCommand.cs +++ b/LeetCode/Commands/AppCommand.cs @@ -2,7 +2,7 @@ internal sealed class AppCommand : Command { - public override int Execute(CommandContext context) + public override int Execute(CommandContext context, CancellationToken cancellationToken) { try { diff --git a/LeetCode/Commands/BenchmarkCommand.cs b/LeetCode/Commands/BenchmarkCommand.cs index 8d6276f..9bb7d6b 100644 --- a/LeetCode/Commands/BenchmarkCommand.cs +++ b/LeetCode/Commands/BenchmarkCommand.cs @@ -5,7 +5,8 @@ internal sealed class BenchmarkCommand : Command [SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")] public override int Execute( [NotNull] CommandContext context, - [NotNull] BenchmarkSettings settings) + [NotNull] BenchmarkSettings settings, + CancellationToken cancellationToken) { try { diff --git a/LeetCode/Commands/InfoCommand.cs b/LeetCode/Commands/InfoCommand.cs index 5f228f0..94a7356 100644 --- a/LeetCode/Commands/InfoCommand.cs +++ b/LeetCode/Commands/InfoCommand.cs @@ -5,7 +5,8 @@ internal sealed class InfoCommand : Command [SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")] public override int Execute( [NotNull] CommandContext context, - [NotNull] ProblemSettings settings) + [NotNull] ProblemSettings settings, + CancellationToken cancellationToken) { try { diff --git a/LeetCode/Commands/ListCommand.cs b/LeetCode/Commands/ListCommand.cs index d51221f..5a48832 100644 --- a/LeetCode/Commands/ListCommand.cs +++ b/LeetCode/Commands/ListCommand.cs @@ -3,7 +3,7 @@ internal sealed class ListCommand : Command { [SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")] - public override int Execute([NotNull] CommandContext context) + public override int Execute([NotNull] CommandContext context, CancellationToken cancellationToken) { try { diff --git a/LeetCode/Commands/WorkflowCommand.cs b/LeetCode/Commands/WorkflowCommand.cs index 875a3b6..f18b098 100644 --- a/LeetCode/Commands/WorkflowCommand.cs +++ b/LeetCode/Commands/WorkflowCommand.cs @@ -3,7 +3,7 @@ internal sealed class WorkflowCommand : Command { [SuppressMessage("ReSharper", "RedundantNullableFlowAttribute")] - public override int Execute([NotNull] CommandContext context) + public override int Execute([NotNull] CommandContext context, CancellationToken cancellationToken) { try {