Same flag name for different cobra commands does not work · Issue #233 · spf13/viper
I'm not sure if this is expected behaviour or not. I have a decryptCmd and encryptCmd cobra commands. They both have flag message. func init() { RootCmd.AddCommand(encryptCmd) encryptCmd.Flags().St...