NuGet/Home

JSON output for dotnet nuget why command

Open

#13.927 aberto em 14 de nov. de 2024

Ver no GitHub
 (0 comments) (2 reactions) (0 assignees)HTML (292 forks)batch import
Priority:3Type:Featurehelp wanted

Métricas do repositório

Stars
 (1.459 stars)
Métricas de merge de PR
 (Mesclagem média 464d 23h) (1 fundiu PR em 30d)

Description

NuGet Product(s) Involved

NuGet.exe

The Elevator Pitch

The output of dotnet nuget why command is incredibly useful for problems like component governance. Right now, it only supports printing output to the terminal. It would very useful to have a mode that supports putting the output to a JSON file, and, if possible, having a set of public classes that we can deserialize that output to.

Additional Context and Details

As my team works on problems like Component Governance, being able to analyze how transitive packages are introduced (as well as how those dependencies shake out between projects) is a key part of the puzzle and I think the output of this command can help a ton.

Guia do colaborador