davidrjonas / composer-lock-diff

See what has changed after a composer update
MIT License
276 stars 18 forks source link

Colored output #38

Open mortona42 opened 2 years ago

mortona42 commented 2 years ago

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

davidrjonas commented 2 years ago

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.