Closed robberphex closed 3 years ago
This PR allows add func TryAddFlag{,Set}, which add flag{Set} and ignore conflicts.
TryAddFlag{,Set}
implement https://github.com/spf13/cobra/issues/1486
All committers have signed the CLA.
@spf13 Could you review this PR?
Closed, please see https://github.com/spf13/pflag/pull/333
This PR allows add func
TryAddFlag{,Set}
, which add flag{Set} and ignore conflicts.implement https://github.com/spf13/cobra/issues/1486