You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After stumbling upon OutOrStdout and OutOrStderr, I thought they'd be great for testing purposes. From my command I would get stdout / stderr writers by calling them and in tests I could just inject some bytes.Buffer to assert on outputs.
However there is a single SetOutput in the Command, which has the following comment : SetOutput sets the destination for usage and error messages. So I assume this refers to stderr.