bmatsuo / jqsh

An interactive wrapper to the jq command line utility
MIT License
23 stars 2 forks source link

tty detection #4

Open bmatsuo opened 10 years ago

bmatsuo commented 10 years ago

things like colors needs to be turned off when the output is not a tty.

bmatsuo commented 10 years ago

this really isn't important until piping input into the program is desirable.

edit: just to clarify. its not reasonable to write a script that gets piped into jqsh because the command api is unstable and is shifting too much at this point to hope for compatibility with future releases. In a few minor releases (~0.7) things should be in a state where writing scripts is more realistic and useful.