Hi, I am using cobra command for my golang cli tool. I would like use -h flag when no flags or sub commands given to a command in cli. Can you please provide the approch for it.
Appreciate your help
Hi, I am using cobra command for my golang cli tool. I would like use -h flag when no flags or sub commands given to a command in cli. Can you please provide the approch for it.
Appreciate your help
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.