Skip to content

Update to System.CommandLine beta5#3

Merged
dougcunha merged 2 commits intomasterfrom
codex/migrate-to-system.commandline-2.0.0-beta5
Jun 26, 2025
Merged

Update to System.CommandLine beta5#3
dougcunha merged 2 commits intomasterfrom
codex/migrate-to-system.commandline-2.0.0-beta5

Conversation

@dougcunha
Copy link
Owner

Summary

  • upgrade to System.CommandLine beta5
  • refactor command classes for new option/argument API
  • adjust tests for changed names and invocation
  • update program entry point

Testing

  • dotnet build NetTools.Tests/NetTools.Tests.csproj
  • dotnet test NetTools.Tests/NetTools.Tests.csproj --no-build -v minimal (fails: 37 failed, 118 passed)

https://chatgpt.com/codex/tasks/task_e_685d5933cf948325b4fc7634712f2bdd

@codecov
Copy link

codecov bot commented Jun 26, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

- Add a global suppressions file to suppress a specific code analysis message for a test command.
- Update package references to xunit.runner.visualstudio and Microsoft.NET.Test.Sdk to newer versions.
- Refines argument definitions and enforces non-null extraction of package id to improve command robustness.
- Refactor conditional statement formatting and add success message for package update.
- Update dependency versions for Microsoft.Extensions packages to 9.0.6 in project configuration.
- Refactor Program class to include an asynchronous Main method with dependency injection setup and conditional console pause when debugger is attached
- Remove unnecessary braces to streamline the code and improve readability.

Signed-off-by: Douglas Cunha <dougcunha@gmail.com>
@dougcunha dougcunha merged commit 9e24cbc into master Jun 26, 2025
1 check passed
@dougcunha dougcunha deleted the codex/migrate-to-system.commandline-2.0.0-beta5 branch June 26, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant