Hacker News new | past | comments | ask | show | jobs | submit login

Spot on. A good pattern is to autodetect what to do by default and yet allow forcing on/off (e.g. --color and --no-color)



Agreed. It could be as simple as checking if there is a tty and whether or not we're inside a pipe.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: