cacher-cli icon indicating copy to clipboard operation
cacher-cli copied to clipboard

Actually quiet output with --quiet

Open yonilerner opened this issue 6 years ago • 1 comments

First, just wanna say, I love this tool. Thanks!

One issue Im having is that sometimes I create large snippets, but I dont want the output to blast my terminal. The --quiet option hides the "View your snippet..." messages, but it doesnt hide the much louder "Snippet file content read from ...: " messages.

It seems to me that --quiet should truly quiet the output - maybe as far as only showing "Snippet successfully created:

" and nothing else. The current behavior could be maintained by another flag, something more specific like <code>--suppress-links</code> or something better. Even better, maybe the granularity of the logging could also be configured with <code>~/.cacher.storage.json</code>, or another config file, if that one is too low-level. <p>Thoughts? Im happy to submit a PR for any of the aforementioned functionality, but I first want to make sure my ideas make sense.</p> <p>Thanks!</p>

yonilerner avatar May 26 '18 01:05 yonilerner

Thanks for the suggestion. I'll introduce this fix in the next release.

jookyboi avatar Jun 11 '18 01:06 jookyboi