daps icon indicating copy to clipboard operation
daps copied to clipboard

Default to pretty output

Open bgeuken opened this issue 8 years ago • 4 comments

I have to admit that I rarely use this tool. So I hardly represent the usual daps user. Though I think it would be better to default to the --pretty output and make the other, machine readable, output optional.

bgeuken avatar Apr 26 '16 10:04 bgeuken

Björn, I guess this is about the various list-*files commands?

ghost avatar Apr 26 '16 10:04 ghost

How about making it always "pretty" whenever the output goes to STDOUT ( [[ -t 1 ]] ) and "flat" whenever being piped or in a subshell, unless you say --pretty?

fsundermeyer avatar Apr 26 '16 10:04 fsundermeyer

Fixed with commit b008650

Tanja, this affects documentation. Handing over to you.

fsundermeyer avatar Apr 26 '16 11:04 fsundermeyer

@sknorr Yes, that's the one I meant

bgeuken avatar Apr 26 '16 12:04 bgeuken

Docs have been updated.

fsundermeyer avatar Nov 06 '23 13:11 fsundermeyer