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

CLI: add a flag for showing each result's alias set #235

Closed
woodruffw opened this issue Feb 7, 2022 · 5 comments
Closed

CLI: add a flag for showing each result's alias set #235

woodruffw opened this issue Feb 7, 2022 · 5 comments
Labels
component:cli CLI components enhancement New feature or request

Comments

@woodruffw
Copy link
Member

Follow-on from #232.

One potential format:

$ pip-audit --show-dupes
Found 2 known vulnerabilities in 1 package
Name  Version ID                              Fix Versions
----  ------- ------------------------------- ------------
Flask 0.5     PYSEC-2019-179, FOOBAR-2019-666 1.0
Flask 0.5     PYSEC-2018-66                   0.12.3

We could also do this as a separate Aliases column instead, in which case we might want to make the flag --show-aliases.

@woodruffw woodruffw added component:cli CLI components enhancement New feature or request labels Feb 7, 2022
@di
Copy link
Sponsor Member

di commented Feb 7, 2022

FWIW the actual flag name I used was just a placeholder, I don't think it's a great name for UX.

@woodruffw woodruffw changed the title CLI: add a --show-dupes flag for showing each result's alias set CLI: add a flag for showing each result's alias set Feb 7, 2022
@woodruffw
Copy link
Member Author

CC @jleightcap: this is a good potential first issue, to get familiar with the codebase.

@pboulos
Copy link
Contributor

pboulos commented Jan 7, 2024

Hello everyone, I've written an implementation for this as I had need for it in a project I was working on (see #721).

I've looked over your contributing docs, but please let me know if you'd like me to go about this another way (and obviously for any adjustments you'd like to make).

@woodruffw
Copy link
Member Author

Thanks @pboulos! I'll give this a review tomorrow.

CCing @tetsuo-cpp as well 🙂

@woodruffw
Copy link
Member Author

Merged with #721! Thanks a ton @pboulos!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:cli CLI components enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants