Hacker News new | ask | show | jobs
by javbit 1951 days ago
You could detect if stdout is a terminal and then decide for fanciness or machine readability. I think this, along with flags for manually setting rich features, would provide the best of both worlds.
1 comments

Ahh didn’t know that was a thing. Thanks for setting me straight.