angle-grinder icon indicating copy to clipboard operation
angle-grinder copied to clipboard

Be less eager to use live-updating table

Open RealOrangeOne opened this issue 4 years ago • 4 comments

As a human, reading the table is very easy, and nice to use. However for scripting use, it's not.

Currently, adding in certain filters like sort force a live table, even when --output is specified. Removing the sort outputs in the correct format.

RealOrangeOne avatar Jul 02 '21 08:07 RealOrangeOne

this seems like a bug—we should only use the live table when the output is a tty

rcoh avatar Jul 02 '21 17:07 rcoh

Is it doing explicit tty detection? I was just reading the output in the terminal to test this, rather than piping it to a file. Either way yeah it might be, probably just needs to obey the --output flag more.

RealOrangeOne avatar Jul 03 '21 10:07 RealOrangeOne

Hello good afternoon 😊

Krishnadevi9878 avatar Jul 19 '21 07:07 Krishnadevi9878

Yeah it does tty detection, when you write to a file it will do the right thing

rcoh avatar Jul 19 '21 07:07 rcoh

fixed in the next release

rcoh avatar Apr 09 '23 18:04 rcoh