colcon-core icon indicating copy to clipboard operation
colcon-core copied to clipboard

Using rich as a visual library

Open Serafadam opened this issue 3 years ago • 2 comments

Hello there, I've seen that there have been some attempts to improve colcon via adding more colors to the output https://github.com/colcon/colcon-core/pull/195 https://github.com/colcon/colcon-core/pull/487 I was thinking lately we could go further with utilization of Python's rich library. I did some initial experiments and with minimal effort I've been able to get some results: colcon_abort colcon_graph colcon_list This is just an experiment, but I'm happy to make a PR for this.

Serafadam avatar Aug 02 '22 18:08 Serafadam

@Serafadam, do you mind sharing your code for this?

rhaschke avatar Nov 19 '23 17:11 rhaschke

maybe @Serafadam uses from rich import print and keeps other code as is @rhaschke ? This does look sick though

mhubii avatar Oct 22 '24 12:10 mhubii