Open
Description
Initial discussion at #10423
This is mostly an umbrella issue for tracking actually doing this, and for serving as a place for discussion whenever a downstream redistributor inevitably comes complaining about this. :)
The first step is obviously to vendor rich. Next, the most obvious change would be to use rich's output logging-related adapter, to replace as much of our custom output stuff with it as possible -- that'll allow using rich's nice markup in our output. At this point, we can close this issue.
The bulk of the benefits will come from further refactoring though:
- replacing our spinners/progress bars with rich's spinners/progress bars.
- replacing our user-input prompts with rich's prompts.
- presenting tracebacks with rich's traceback highlighting.
- utilising rich's status bar, to present proper status to the user.