pipecd
pipecd copied to clipboard
Upgrade the version of cobra to the latest
What would you like to be added:
To renew the version of cobra.
Currently, we use cobra v1.0.0 as below. https://github.com/pipe-cd/pipecd/blob/4285674e207636ff871aec9551ca3fc6ca201a46/go.mod#L42
Today, the current latest of cobra is v1.8.0. See https://github.com/spf13/cobra/releases.
Why is this needed:
To use newer useful options of cobra, like MarkFlagsMutuallyExclusive or MarkFlagsOneRequired
For example of new options, see https://github.com/pipe-cd/pipecd/pull/4785#discussion_r1488901291
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.