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
I am trying to write something that augments the docker-cli so if it fails the parsing I would normally let it run the existing docker command. What I wanted to do though is add a new command that I know would not be in docker e.g. docker bash I would like to be able to make Cobra just show the usage or errors by setting SilenceErrors and SilenceUsage to true on the specific command
The text was updated successfully, but these errors were encountered:
I am trying to write something that augments the docker-cli so if it fails the parsing I would normally let it run the existing docker command. What I wanted to do though is add a new command that I know would not be in docker e.g.
docker bash
I would like to be able to make Cobra just show the usage or errors by settingSilenceErrors
andSilenceUsage
totrue
on the specific commandThe text was updated successfully, but these errors were encountered: