Skip to content

Conversation

@tmat
Copy link
Member

@tmat tmat commented Dec 15, 2025

First commit implements the separation and was authored by copilot.

The second and third commits switch from static option fields to instance fields for all workload and tool commands and subcommands, following the pattern established by #52137.

The last commit updates test baselines to reflect new ordering of some options.

… action logic

Co-authored-by: tmat <41759+tmat@users.noreply.github.com>
@tmat
Copy link
Member Author

tmat commented Jan 5, 2026

@MiYanni ptal


public readonly Option<int> TakeOption = new("--take")
{
DefaultValueFactory = (_) => 5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this magic number saying it'll return 5 items by default?

Copy link
Member Author

@tmat tmat Jan 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just moved the option definition, did not change the impl. Yeah, it seems to set the default value to 5.

@tmat
Copy link
Member Author

tmat commented Jan 5, 2026

/ba-g winrt

@tmat tmat merged commit 54ce3d7 into dotnet:release/10.0.2xx Jan 5, 2026
26 of 30 checks passed
@tmat tmat deleted the WorkloadToolCmds branch January 5, 2026 23:56
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.

2 participants