cobra
cobra copied to clipboard
Issues with flags marked as mutually exclusive during testing
If I set up two flags as mutually exclusive, and I set one or the other in separate test runs, then Cobra will still think that I have set them at the same time. Their values will be set correctly, but the error message about mutual exclusivity remains.
Is there any way to get around this or to fix this?