gau icon indicating copy to clipboard operation
gau copied to clipboard

Feature Request: Allow concurrent output to Outfile and stdout

Open nestedfunction opened this issue 3 years ago • 3 comments

In the current version of gau, using the --o option will output to the specified outfile only, suppressing results output to stdout.

I think it might be nice to have --o operate independently without silencing stdout.

The would be useful in certain terminal logging setups. My existing 'workaround' had been omit --o and instead tee to an outfile.

Thanks!

nestedfunction avatar Dec 14 '21 00:12 nestedfunction

Similar issue mentioned by @BastienFaure in https://github.com/lc/gau/issues/20#issuecomment-733427239

Noted that this is by design.

nestedfunction avatar Dec 14 '21 00:12 nestedfunction

Hey, thanks for opening this issue – I can add a flag like --suppress or something similar to suppress stdout and have that disabled by default

lc avatar Dec 29 '21 21:12 lc

Can I suggest naming the flag -s (--silent) like in curl? Thanks! :)

nestedfunction avatar Dec 29 '21 22:12 nestedfunction