Skip to content

Conversation

@hamdanal
Copy link

@hamdanal hamdanal commented Jul 14, 2023

Resolves #12134.

I didn't get any feedback on the issue whether this is a welcome addition to pip so I created this PR to let you see what it would look like. Please let me know if I should pursue this further and add tests.

@hamdanal
Copy link
Author

Here are some screenshots

pip --help

pip-help

pip install --help

pip-install-help

@jeffwidman
Copy link
Contributor

Nice! That looks more useful, and also makes the tool look like the authors paid attention to details.

@pradyunsg
Copy link
Member

@hamdanal Thanks for filing this!

It looks quite nice ✨ -- this PR has been on my list of things to review in pip, but alas, I haven't found the time to come around to this yet!

I'd really like to get this (with maybe some stylistic tweaks) landed sooner rather than later in pip.1

Footnotes

  1. Assuming no show-stopper bugs or concerns, obviously.

@pfmoore
Copy link
Member

pfmoore commented Aug 4, 2023

I agree, I really like the look of this. Unfortunately, I don't have the time myself to review it, so I'll have to limit myself to being +1 on the PR in principle 🙂

@hamdanal
Copy link
Author

hamdanal commented Aug 5, 2023

Thank you all. I am glad you are positive about this.

(with maybe some stylistic tweaks)

Of course. If you mean the output style, you can easily experiment with different styles. These are all defined here. If you mean the code style, we'll have to wait for the review :D.

Assuming no show-stopper bugs or concerns, obviously

I got a bug report recently about the colours not working properly in legacy windows console. I have a fix that I will include in this PR soon.

@hugovk
Copy link
Contributor

hugovk commented Nov 16, 2025

See #13649 for a followup.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve pip's CLI help using rich colors

6 participants