react-scanner icon indicating copy to clipboard operation
react-scanner copied to clipboard

Added --silent flag to silence console logging.

Open jake-chapman-mark43 opened this issue 2 years ago • 1 comments

Building a cli tool for some stuff at work, and the output is messing with our output. Added a simple --silent flag to silence any of the logging. Not sure your exact thoughts on --silent suppressing the console.error, I've seen libs do either silence everything or have a separate log-level and a silence-errors option.

Works for what I need, but if you have any feedback or suggestions on something a little more flexible, I'm all ears.

jake-chapman-mark43 avatar Jan 13 '23 05:01 jake-chapman-mark43

@jake-chapman-mark43 @moroshko I liked the solution, do we have a forecast for a version with this?

oAllanWeb avatar Nov 08 '23 17:11 oAllanWeb