pipecd icon indicating copy to clipboard operation
pipecd copied to clipboard

Upgrade the version of cobra to the latest

Open t-kikuc opened this issue 1 year ago • 1 comments

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

t-kikuc avatar Feb 16 '24 00:02 t-kikuc

For example of new options, see https://github.com/pipe-cd/pipecd/pull/4785#discussion_r1488901291

t-kikuc avatar Feb 16 '24 01:02 t-kikuc

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.

github-actions[bot] avatar Aug 15 '24 00:08 github-actions[bot]