-
Notifications
You must be signed in to change notification settings - Fork 0
build: Bump System.CommandLine from 2.0.0-beta4.22272.1 to 2.0.0-beta5.25306.1 #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: Bump System.CommandLine from 2.0.0-beta4.22272.1 to 2.0.0-beta5.25306.1 #12
Conversation
…5.25306.1 --- updated-dependencies: - dependency-name: System.CommandLine dependency-version: 2.0.0-beta5.25306.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
|
The |
Test Summary154 tests 154 ✅ 0s ⏱️ Results for commit 7409227. ♻️ This comment has been updated with latest results. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR bumps the System.CommandLine dependency from 2.0.0-beta4 to 2.0.0-beta5 and refactors command option initialization and handling accordingly.
- Updated the csproj package reference.
- Replaced inline option creation with dedicated option classes (e.g., BaselineOption, TargetOption, etc.).
- Adjusted command registration using SetAction and updated tests to match the new options and behavior.
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/PowerUtils.BenchmarkDotnet.Reporter.Tests/ToolCommandsTest.cs | Renamed test expecting 4 options to 6 options and removed individual option validations. |
| tests/PowerUtils.BenchmarkDotnet.Reporter.Tests/Options/OptionsTests.cs | Added tests for individual options using the new option class properties. |
| tests/PowerUtils.BenchmarkDotnet.Reporter.Tests/Options/FormatOptionTests.cs | Added tests validating formats option with new C# syntax array literals. |
| src/ToolCommands.cs | Refactored from inline option creation with SetHandler to using dedicated option classes and SetAction. |
| src/Program.cs | Changed command invocation to use Parse(args).Invoke() and updated DI configuration. |
| src/PowerUtils.BenchmarkDotnet.Reporter.csproj | Updated the System.CommandLine package version. |
| src/Options/*.cs | Introduced new option classes for baseline, target, formats, output, mean threshold, and allocation threshold. |
| src/Commands/ComparerCommand.cs | Updated command interface and implementation to return an int exit code. |
| .vscode/launch.json | Updated sample argument values to reflect case-insensitive handling of formats. |
|
🚀 Stryker report generated 🚀 |
|
|
🎉 This PR is included in version 1.2.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |



Performed the following updates:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)