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.
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 theconsole.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.