-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Document machine readable json output for dotnet list package report #32855
Document machine readable json output for dotnet list package report #32855
Conversation
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.
Do we want to document the format somehow/somewhere?
Do you mean something like blog post which explains usage in detail? |
Not really. More of a schema for the file somewhere that's not our designs. |
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.
LGTM, one suggestion
Co-authored-by: Tom Dykstra <[email protected]>
Tom's comments have all been addressed. I'll now. |
@BillWagner |
@nkolev92 @erdembayar We have an issue now asking for the format (#38022) is that information available somewhere? |
We have a tracking issue for that (it was internal, so I moved it to an external one) NuGet/Home#13503. The source of truth is https://github.com/NuGet/Home/blob/dev/proposed/2022/DotnetListPackageMachineReadableJsonOutput.md. |
Fixes: https://github.com/NuGet/docs.microsoft.com-nuget/issues/2922
Related to: dotnet/sdk#29367, NuGet/Home#7752
Spec is here. New command option can be used like below:
dotnet list package --format json
dotnet list package --format json --output-version 1
!!! Don't merge before we verify it's available in GA sdk version.