[Solved] How can I get the Flag chosen by the user in my CLI
This solution has very bad design… You do not know order of eveluating those flags. The issue I am assuming you are using cobra. So when you read documentation you will not find any part of how your flags are evaluated. So sometimes it is called undefined behavior and it may work but if the … Read more