react-scanner
react-scanner copied to clipboard
Added --silent flag to silence console logging.
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 @moroshko I liked the solution, do we have a forecast for a version with this?