Skip to content
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

Add a machine-readable NuGet CLI list command output #8686

Open
andrew-z opened this issue Oct 11, 2019 · 2 comments
Open

Add a machine-readable NuGet CLI list command output #8686

andrew-z opened this issue Oct 11, 2019 · 2 comments
Labels
Functionality:List(Search) help wanted Considered good issues for community contributions. Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Product:NuGet.exe NuGet.exe Type:Feature
Milestone

Comments

@andrew-z
Copy link

Are there any plans for NuGet.exe "list" command to have a way of outputting list of packages + versions in a machine readable format? A lot of people (including myself) have scripts depend on it, it's awkward to parse and it feels very fragile since it can change anytime.

Moreover, recently I found that changing the verbosity level (I wanted to debug things) totally changes the way packages are listed in the output, so it's very unpractical to do so (unless I have a verbose and non-verbose version of the script).

(Using NuGet version 5.2.0.6090)

@xavierdecoster
Copy link
Member

Duplicate of #7752?

@nkolev92
Copy link
Member

Unfortunately nuget.exe list is not equivalent to dotnet list package.

This is referring to a command we want to rename to search.

//cc @dominoFire @anangaur

@zivkan zivkan added this to the Backlog milestone Oct 17, 2019
@nkolev92 nkolev92 added Functionality:List(Search) Priority:2 Issues for the current backlog. Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. help wanted Considered good issues for community contributions. and removed Priority:2 Issues for the current backlog. labels May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionality:List(Search) help wanted Considered good issues for community contributions. Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Product:NuGet.exe NuGet.exe Type:Feature
Projects
None yet
Development

No branches or pull requests

6 participants