I'm designing a terminal-based application, and I want to implement a
--silent flag to suppress noise if they don't want it.
In this application, errors are most commonly logged when the application cannot perform a necessary task, warnings are logged when something couldn't be performed, but the application can still operate.
So, that stated, should a
--silent flag suppress warnings and errors, or just warnings? What is the general convention on that?
ruby -w0 turns off warnings for your script (information via
curl --silent supresses all output.