Skip to content

Conversation

@filzrev
Copy link
Contributor

@filzrev filzrev commented Oct 31, 2025

This PR update Spectre.Console package version from 0.52.0 to 0.53.0

Spectre.Console 0.53.0 supports native CancellationToken support.
So I've added CancellationToken parameter to Execute method,
(Currently it's passed but it's not actually used. It'll be used when support docfx watch command)

Other Changes

  • Remove CancellableCommandBase class because Spectre.Cli support build-in CancellationToken.
  • Modify some commands base class from Command to AsyncCommand and remove .GetAwaiter().GetResult()
  • Add RunAsync helper method to CommandHelper.cs
  • Add code to handle SIGINT event on PdfBuilder.cs to keep exiting behavior.

@filzrev filzrev force-pushed the deps-update-spectre-cli branch 2 times, most recently from 28b972c to 39b174b Compare October 31, 2025 23:54
@filzrev filzrev changed the title deps: Update Spectre.Cli package deps: Update Spectre.Console package Nov 1, 2025
@filzrev filzrev force-pushed the deps-update-spectre-cli branch from 39b174b to 0bd7878 Compare November 11, 2025 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant