Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/spf13/cobra to v1.5.0 - autoclosed #111

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 1, 2021

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/spf13/cobra require minor v1.4.0 -> v1.5.0

Release Notes

spf13/cobra

v1.5.0

Compare Source

Spring 2022 Release 🌥️

Hello everyone! Welcome to another release of cobra. Completions continue to get better and better. This release adds a few really cool new features. We also continue to patch versions of our dependencies as they become available via dependabot. Happy coding!

Active help 👐🏼

Shout out to @​marckhouzam for a big value add: Active Help https://github.com/spf13/cobra/pull/1482. With active help, a program can provide some inline warnings or hints for users as they hit tab. Now, your CLIs can be even more intuitive to use!

Currently active help is only supported for bash V2 and zsh. Marc wrote a whole guide on how to do this, so make sure to give it a good read to learn how you can add this to your cobra code! https://github.com/spf13/cobra/blob/master/active_help.md

Group flags 🧑🏼‍🤝‍🧑🏼

Cobra now has the ability to mark flags as required or exclusive as a group. Shout out to our newest maintainer @​johnSchnake for this! https://github.com/spf13/cobra/pull/1654 Let's say you have a username flag that MUST be partnered with a password flag. Well, now, you can enforce those as being required together:

rootCmd.Flags().StringVarP(&u, "username", "u", "", "Username (required if password is set)")
rootCmd.Flags().StringVarP(&pw, "password", "p", "", "Password (required if username is set)")
rootCmd.MarkFlagsRequiredTogether("username", "password")

Flags may also be marked as "mutally exclusive" with the MarkFlagsMutuallyExclusive(string, string ... ) command API. Refer to our user guide documentation for further info!

Completions 👀

Documentation 📝

Testing & CI ⚙️

Beep boop, bot commits 🤖

Misc 💭

Shoutout to ALL our contributors (and all the new first time contributors!!) - great work everyone!! Cobra and it's huge impact wouldn't be possible without you 👏🏼 🚀 🐍

Full Changelog: spf13/cobra@v1.4.0...v1.5.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the kind:dependency Dependency update label Jul 1, 2021
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 73f90c8 to 5ed2901 Compare July 2, 2021 15:37
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.2.0 Update module github.com/spf13/cobra to v1.2.1 Jul 2, 2021
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch 2 times, most recently from e6d903a to 0f0ab15 Compare August 12, 2021 09:30
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.2.1 Update module github.com/spf13/cobra to v1.2.1 - autoclosed Aug 30, 2021
@renovate renovate bot closed this Aug 30, 2021
@renovate renovate bot deleted the renovate/github.com-spf13-cobra-1.x branch August 30, 2021 12:07
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.2.1 - autoclosed Update module github.com/spf13/cobra to v1.2.1 Aug 30, 2021
@renovate renovate bot reopened this Aug 30, 2021
@renovate renovate bot restored the renovate/github.com-spf13-cobra-1.x branch August 30, 2021 12:59
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 0f0ab15 to 73ee173 Compare August 30, 2021 13:00
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.2.1 Update module github.com/spf13/cobra to v1.2.1 - autoclosed Aug 30, 2021
@renovate renovate bot closed this Aug 30, 2021
@renovate renovate bot deleted the renovate/github.com-spf13-cobra-1.x branch August 30, 2021 14:08
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.2.1 - autoclosed Update module github.com/spf13/cobra to v1.2.1 Aug 30, 2021
@renovate renovate bot reopened this Aug 30, 2021
@renovate renovate bot restored the renovate/github.com-spf13-cobra-1.x branch August 30, 2021 15:02
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.2.1 Update module github.com/spf13/cobra to v1.2.1 - autoclosed Aug 31, 2021
@renovate renovate bot closed this Aug 31, 2021
@renovate renovate bot deleted the renovate/github.com-spf13-cobra-1.x branch August 31, 2021 00:15
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.2.1 - autoclosed Update module github.com/spf13/cobra to v1.2.1 Aug 31, 2021
@renovate renovate bot reopened this Aug 31, 2021
@renovate renovate bot restored the renovate/github.com-spf13-cobra-1.x branch August 31, 2021 02:04
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 73ee173 to f455f53 Compare August 31, 2021 02:05
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.2.1 Update module github.com/spf13/cobra to v1.2.1 - autoclosed Aug 31, 2021
@renovate renovate bot closed this Aug 31, 2021
@renovate renovate bot deleted the renovate/github.com-spf13-cobra-1.x branch August 31, 2021 04:19
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.2.1 - autoclosed Update module github.com/spf13/cobra to v1.2.1 Aug 31, 2021
@renovate renovate bot restored the renovate/github.com-spf13-cobra-1.x branch August 31, 2021 08:04
@renovate renovate bot reopened this Aug 31, 2021
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from f455f53 to d6e4ecb Compare March 7, 2022 15:39
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.2.1 Update module github.com/spf13/cobra to v1.3.0 Mar 7, 2022
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.3.0 Update module github.com/spf13/cobra to v1.4.0 Mar 26, 2022
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from d6e4ecb to 95cfd33 Compare March 26, 2022 13:50
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 95cfd33 to 063bdde Compare June 23, 2022 20:56
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.4.0 Update module github.com/spf13/cobra to v1.5.0 Jun 23, 2022
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch 2 times, most recently from 8774ee6 to 75ea57a Compare August 8, 2022 22:40
Signed-off-by: Renovate Bot <bot@renovateapp.com>
@renovate renovate bot force-pushed the renovate/github.com-spf13-cobra-1.x branch from 75ea57a to d55295a Compare August 8, 2022 23:04
@renovate renovate bot changed the title Update module github.com/spf13/cobra to v1.5.0 Update module github.com/spf13/cobra to v1.5.0 - autoclosed Aug 20, 2022
@renovate renovate bot closed this Aug 20, 2022
@renovate renovate bot deleted the renovate/github.com-spf13-cobra-1.x branch August 20, 2022 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:dependency Dependency update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants