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 --all option for dotnet list package #11551

Closed
erdembayar opened this issue Feb 2, 2022 · 4 comments
Closed

Add --all option for dotnet list package #11551

erdembayar opened this issue Feb 2, 2022 · 4 comments

Comments

@erdembayar
Copy link
Contributor

erdembayar commented Feb 2, 2022

Currently customer have to make 2 separate queries to find out both outdated and vulnerable packages with dotnet list package, instead we need --all which shows all deprecated, vulnerable, and outdated top level and transitive packages

#11446 (comment)

I'm including screenshot given GH is not good at tracking comments/discussion.
image.png

@JonDouglas
Copy link
Contributor

I think #11549 should handle this situation. I don't think an "-all" flag frankly makes sense.

@JonDouglas
Copy link
Contributor

I also just don't think list commands are going to scale well enough with this much information being outputted.

Say you have a project with 30 dependencies. Those might have 6 transitive dependencies each. Now produce output 3x and your console is not readable as a human.

@erdembayar
Copy link
Contributor Author

I also just don't think list commands are going to scale well enough with this much information being outputted.

Say you have a project with 30 dependencies. Those might have 6 transitive dependencies each. Now produce output 3x and your console is not readable as a human.

Yes, it doesn't make sense for plain output, but could be used as shortcut for json output instead of putting all possible combination.

@nkolev92
Copy link
Member

The arguments, --vulnerable, --outdated are filters and change the output format.

--all does not make it clear what the format of the output should be, or whether it should be an AND or an OR operation between these filters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants