composer-lock-diff icon indicating copy to clipboard operation
composer-lock-diff copied to clipboard

Colored output

Open mortona42 opened this issue 3 years ago • 1 comments

Let's add color formatting to the output, so the differences can be read a little easier.

Here's what composer show --outdated looks like:

Screenshot from 2022-09-06 12-02-35 Screenshot from 2022-09-06 12-00-45

mortona42 avatar Sep 06 '22 19:09 mortona42

Thank you! I like the idea. I think the difficulty will be in making it work correct in most situations without depending on an external package. Detecting a tty is easy enough, but it. May take other tricks. Anyway, I’m not sure when I’ll have time to implement it. PR welcome!

On Sep 6, 2022, at 9:04 PM, Andrew Morton @.***> wrote:

 Let's add color formatting to the output, so the differences can be read a little easier.

Here's what composer show --outdated looks like:

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

davidrjonas avatar Sep 09 '22 11:09 davidrjonas