Adding a CLI option for to silence the output on success would be nice.
I am more than willing to submit a PR, however I figured I should ask a style opinion first.
A simple way to do this would be to override the console.log function with an empty arrow function x=>{}. The default console.log returns nothing, so this would be indistinguishable for the code. Errors could still be reported with console.error.
The other option is to create an if check before each console.log for the quiet flag
Either way, this would be a quick addition that I'm more than happy to add. Please just let me know which direction you would prefer @keithamus.
Adding a CLI option for to silence the output on success would be nice.
I am more than willing to submit a PR, however I figured I should ask a style opinion first.
x=>{}
. The default console.log returns nothing, so this would be indistinguishable for the code. Errors could still be reported with console.error.