pflag
pflag copied to clipboard
Add RemoveFlag() function
This adds the ability to remove a Flag from a FlagSet, e.g. flagSet.RemoveFlag("my-flag")
My end-goal is to allow cobra commands to opt-out of PersistentFlags() that they inherit. Please LMK if I'm on the wrong track here.
(plus a few formatting changes)
ping
ping