Colourful pip help
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.
Here are some screenshots
pip --help
pip install --help
Nice! That looks more useful, and also makes the tool look like the authors paid attention to details.
@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]
[^1]: Assuming no show-stopper bugs or concerns, obviously.
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 🙂
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.
See https://github.com/pypa/pip/pull/13649 for a followup.