-
Notifications
You must be signed in to change notification settings - Fork 172
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
Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 #252
Merged
the-frey
merged 1 commit into
main
from
dependabot/go_modules/github.com/spf13/cobra-1.5.0
Aug 8, 2022
Merged
Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 #252
the-frey
merged 1 commit into
main
from
dependabot/go_modules/github.com/spf13/cobra-1.5.0
Aug 8, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.4.0 to 1.5.0. - [Release notes](https://github.com/spf13/cobra/releases) - [Commits](spf13/cobra@v1.4.0...v1.5.0) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
bot
added
dependencies
Pull requests that update a dependency file
go
Pull requests that update Go code
labels
Aug 6, 2022
Holy snippet dependabot on Fleek
…On Sat, 6 Aug 2022 at 22.18 dependabot[bot] ***@***.***> wrote:
Bumps github.com/spf13/cobra from 1.4.0 to 1.5.0.
Release notes
*Sourced from github.com/spf13/cobra's releases
<https://github.com/spf13/cobra/releases>.*
v1.5.0 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 <https://github.com/marckhouzam> for a big
value add: Active Help spf13/cobra#1482
<https://github-redirect.dependabot.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
<https://github.com/johnSchnake> for this! spf13/cobra#1654
<https://github-redirect.dependabot.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
<https://github.com/spf13/cobra/blob/master/user_guide.md> for further
info!
Completions 👀
- Add backwards-compatibility tests for legacyArgs() by @marckhouzam
<https://github.com/marckhouzam> in spf13/cobra#1547
<https://github-redirect.dependabot.com/spf13/cobra/pull/1547>
- feat: Add how to load completions in your current zsh session by
@ondrejsika <https://github.com/ondrejsika> in spf13/cobra#1608
<https://github-redirect.dependabot.com/spf13/cobra/pull/1608>
- Introduce FixedCompletions by @emersion
<https://github.com/emersion> in spf13/cobra#1574
<https://github-redirect.dependabot.com/spf13/cobra/pull/1574>
- Add shell completion to flag groups by @marckhouzam
<https://github.com/marckhouzam> in spf13/cobra#1659
<https://github-redirect.dependabot.com/spf13/cobra/pull/1659>
- Modify brew prefix path in macOS system by @imxw
<https://github.com/imxw> in spf13/cobra#1719
<https://github-redirect.dependabot.com/spf13/cobra/pull/1719>
- perf(bash-v2): use backslash escape string expansion for tab by
@scop <https://github.com/scop> in spf13/cobra#1682
<https://github-redirect.dependabot.com/spf13/cobra/pull/1682>
- style(bash-v2): out is not an array variable, do not refer to it as
such by @scop <https://github.com/scop> in spf13/cobra#1681
<https://github-redirect.dependabot.com/spf13/cobra/pull/1681>
- perf(bash-v2): standard completion optimizations by @scop
<https://github.com/scop> in spf13/cobra#1683
<https://github-redirect.dependabot.com/spf13/cobra/pull/1683>
- style(bash): out is not an array variable, do not refer to it as
such by @scop <https://github.com/scop> in spf13/cobra#1684
<https://github-redirect.dependabot.com/spf13/cobra/pull/1684>
- perf(bash-v2): short-circuit descriptionless candidate lists by
@scop <https://github.com/scop> in spf13/cobra#1686
<https://github-redirect.dependabot.com/spf13/cobra/pull/1686>
- perf(bash-v2): speed up filtering entries with descriptions by @scop
<https://github.com/scop> in spf13/cobra#1689
<https://github-redirect.dependabot.com/spf13/cobra/pull/1689>
- perf(bash-v2): speed up filtering menu-complete descriptions by
@scop <https://github.com/scop> in spf13/cobra#1692
<https://github-redirect.dependabot.com/spf13/cobra/pull/1692>
- fix(bash-v2): skip empty completions when filtering descriptions by
@scop <https://github.com/scop> in spf13/cobra#1691
<https://github-redirect.dependabot.com/spf13/cobra/pull/1691>
- perf(bash-v2): read directly to COMPREPLY on descriptionless short
circuit by @scop <https://github.com/scop> in spf13/cobra#1700
<https://github-redirect.dependabot.com/spf13/cobra/pull/1700>
- fix: Don't complete _command on zsh by @twpayne
<https://github.com/twpayne> in spf13/cobra#1690
<https://github-redirect.dependabot.com/spf13/cobra/pull/1690>
- Improve fish_completions code quality by @t29kida
<https://github.com/t29kida> in spf13/cobra#1515
<https://github-redirect.dependabot.com/spf13/cobra/pull/1515>
- Fix handling of descriptions for bash v3 by @marckhouzam
<https://github.com/marckhouzam> in spf13/cobra#1735
<https://github-redirect.dependabot.com/spf13/cobra/pull/1735>
- undefined or nil Args default to ArbitraryArgs by @umarcor
<https://github.com/umarcor> in spf13/cobra#1612
<https://github-redirect.dependabot.com/spf13/cobra/pull/1612>
- Add Command.SetContext by @joshcarp <https://github.com/joshcarp>
in spf13/cobra#1551
<https://github-redirect.dependabot.com/spf13/cobra/pull/1551>
- Wrap printf tab with quotes by @PapaCharlie
<https://github.com/PapaCharlie> in spf13/cobra#1665
<https://github-redirect.dependabot.com/spf13/cobra/pull/1665>
Documentation 📝
- Fixed typos in completions docs - @cuishuang
<https://github.com/cuishuang> spf13/cobra#1625
<https://github-redirect.dependabot.com/spf13/cobra/pull/1625>
- Removed CHANGELOG.md as it isn't updated - @johnSchnake
<https://github.com/johnSchnake> spf13/cobra#1634
<https://github-redirect.dependabot.com/spf13/cobra/pull/1634>
- Minor typo fix in shell_completion.md - @danieldn
<https://github.com/danieldn> spf13/cobra#1678
<https://github-redirect.dependabot.com/spf13/cobra/pull/1678>
- Changed branch name in the cobra generator link to 'main' -
@skywalker2909 <https://github.com/skywalker2909> spf13/cobra#1645
<https://github-redirect.dependabot.com/spf13/cobra/pull/1645>
- Fix Command.Context comment by @katexochen
<https://github.com/katexochen> in spf13/cobra#1639
<https://github-redirect.dependabot.com/spf13/cobra/pull/1639>
... (truncated)
Commits
- 06b06a9
<spf13/cobra@06b06a9>
Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#1697
<https://github-redirect.dependabot.com/spf13/cobra/issues/1697>)
- 5f2ec3c
<spf13/cobra@5f2ec3c>
Update shell completion to respect flag groups (#1659
<https://github-redirect.dependabot.com/spf13/cobra/issues/1659>)
- b9ca594
<spf13/cobra@b9ca594>
use errors.Is() to check for errors (#1730
<https://github-redirect.dependabot.com/spf13/cobra/issues/1730>)
- ea94a3d
<spf13/cobra@ea94a3d>
undefined or nil Args default to ArbitraryArgs (#1612
<https://github-redirect.dependabot.com/spf13/cobra/issues/1612>)
- 7c9831d
<spf13/cobra@7c9831d>
Fix handling of descriptions for bash v3 (#1735
<https://github-redirect.dependabot.com/spf13/cobra/issues/1735>)
- ed7bb9d
<spf13/cobra@ed7bb9d>
Add unit test for fish completion (#1515
<https://github-redirect.dependabot.com/spf13/cobra/issues/1515>)
- f464d6c
<spf13/cobra@f464d6c>
Add Active Help support (#1482
<https://github-redirect.dependabot.com/spf13/cobra/issues/1482>)
- 7dc8b00
<spf13/cobra@7dc8b00>
Bump actions/setup-go from 2 to 3 (#1660
<https://github-redirect.dependabot.com/spf13/cobra/issues/1660>)
- 87ea180
<spf13/cobra@87ea180>
Modify brew prefix path in macOS system (#1719
<https://github-redirect.dependabot.com/spf13/cobra/issues/1719>)
- ca8e3c2
<spf13/cobra@ca8e3c2>
Add Pulumi as a project using cobra (#1720
<https://github-redirect.dependabot.com/spf13/cobra/issues/1720>)
- Additional commits viewable in compare view
<spf13/cobra@v1.4.0...v1.5.0>
[image: Dependabot compatibility score]
<https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores>
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting @dependabot
rebase.
------------------------------
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- @dependabot rebase will rebase this PR
- @dependabot recreate will recreate this PR, overwriting any edits
that have been made to it
- @dependabot merge will merge this PR after your CI passes on it
- @dependabot squash and merge will squash and merge this PR after
your CI passes on it
- @dependabot cancel merge will cancel a previously requested merge
and block automerging
- @dependabot reopen will reopen this PR if it is closed
- @dependabot close will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- @dependabot ignore this major version will close this PR and stop
Dependabot creating any more for this major version (unless you reopen the
PR or upgrade to it yourself)
- @dependabot ignore this minor version will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen the
PR or upgrade to it yourself)
- @dependabot ignore this dependency will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the PR
or upgrade to it yourself)
------------------------------
You can view, comment on, or merge this pull request online at:
#252
Commit Summary
- d4c4a17
<d4c4a17>
Bump github.com/spf13/cobra from 1.4.0 to 1.5.0
File Changes
(2 files <https://github.com/CosmosContracts/juno/pull/252/files>)
- *M* go.mod
<https://github.com/CosmosContracts/juno/pull/252/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6>
(2)
- *M* go.sum
<https://github.com/CosmosContracts/juno/pull/252/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63>
(4)
Patch Links:
- https://github.com/CosmosContracts/juno/pull/252.patch
- https://github.com/CosmosContracts/juno/pull/252.diff
—
Reply to this email directly, view it on GitHub
<#252>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC6MWVOBQYYQDHWREAQW2LDVXZX4BANCNFSM55YU326A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I recently used it to merge 200 pr's in a 24 hour period-- without breaking changes. fleek indeed. |
faddat
approved these changes
Aug 7, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dependabot on fleek
the-frey
approved these changes
Aug 8, 2022
dependabot
bot
deleted the
dependabot/go_modules/github.com/spf13/cobra-1.5.0
branch
August 8, 2022 10:48
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps github.com/spf13/cobra from 1.4.0 to 1.5.0.
Release notes
Sourced from github.com/spf13/cobra's releases.
... (truncated)
Commits
06b06a9
Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#1697)5f2ec3c
Update shell completion to respect flag groups (#1659)b9ca594
use errors.Is() to check for errors (#1730)ea94a3d
undefined or nil Args default to ArbitraryArgs (#1612)7c9831d
Fix handling of descriptions for bash v3 (#1735)ed7bb9d
Add unit test for fish completion (#1515)f464d6c
Add Active Help support (#1482)7dc8b00
Bump actions/setup-go from 2 to 3 (#1660)87ea180
Modify brew prefix path in macOS system (#1719)ca8e3c2
Add Pulumi as a project using cobra (#1720)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)