[Solved] How can I get the Flag chosen by the user in my CLI
[ad_1] 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 … Read more