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

Bump github.com/spf13/cobra from 1.2.1 to 1.6.1 #304

Merged
merged 2 commits into from
Feb 23, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 25, 2022

Bumps github.com/spf13/cobra from 1.2.1 to 1.6.1.

Release notes

Sourced from github.com/spf13/cobra's releases.

v1.6.1

Bug fixes 🐛

  • Fixes a panic when AddGroup isn't called before AddCommand(my-sub-command) is executed. This can happen within more complex cobra file structures that have many different inits to be executed. Now, the check for groups has been moved to ExecuteC and provides more flexibility when working with grouped commands - @​marckhouzam (and shout out to @​aawsome, @​andig and @​KINGSABRI for a deep investigation into this! 👏🏼)

v1.6.0

Summer 2022 Release

Some exciting changes make their way to Cobra! Command completions continue to get better and better (including adding --help and --version automatic flags to the completions list). Grouping is now possible in your help output as well! And you can now use the OnFinalize method to cleanup things when all "work" is done. Checkout the full changelog below:


Features 🌠

Deprecation 👎🏼

  • ExactValidArgs is deprecated (but not being removed entirely). This is abit nuanced, so checkout #1643 for further information and the updated user_guide.md on how this may affect you (and how you can take advantage of the correct behavior in the validators): @​umarcor #1643

Bug fixes 🐛

Dependencies 🗳️

Testing 🤔

Docs ✏️

Misc 💭

... (truncated)

Commits

Dependabot compatibility score

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 25, 2022
@dependabot dependabot bot force-pushed the dependabot-go_modules-github.com-spf13-cobra-1.6.1 branch 2 times, most recently from 1fefde6 to 93351ea Compare January 27, 2023 09:17
@dependabot dependabot bot force-pushed the dependabot-go_modules-github.com-spf13-cobra-1.6.1 branch 2 times, most recently from 8575b89 to 589b614 Compare February 4, 2023 13:19
dependabot bot and others added 2 commits February 23, 2023 08:44
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.2.1 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](spf13/cobra@v1.2.1...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@LinuxSuRen LinuxSuRen force-pushed the dependabot-go_modules-github.com-spf13-cobra-1.6.1 branch from 589b614 to 67bee8d Compare February 23, 2023 00:55
@codecov
Copy link

codecov bot commented Feb 23, 2023

Codecov Report

Merging #304 (67bee8d) into master (b8666f1) will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #304      +/-   ##
==========================================
+ Coverage   60.97%   61.09%   +0.11%     
==========================================
  Files          64       64              
  Lines        3434     3444      +10     
==========================================
+ Hits         2094     2104      +10     
  Misses       1236     1236              
  Partials      104      104              
Flag Coverage Δ
unittests 61.09% <100.00%> (+0.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cmd/fetch.go 72.72% <100.00%> (+0.50%) ⬆️
cmd/get.go 68.72% <100.00%> (+0.22%) ⬆️
cmd/install.go 36.39% <100.00%> (+0.24%) ⬆️
cmd/root.go 82.97% <100.00%> (+1.58%) ⬆️
cmd/search.go 92.50% <100.00%> (+0.19%) ⬆️
cmd/setup.go 79.16% <100.00%> (+0.44%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@LinuxSuRen LinuxSuRen merged commit 070a9a0 into master Feb 23, 2023
@LinuxSuRen LinuxSuRen deleted the dependabot-go_modules-github.com-spf13-cobra-1.6.1 branch February 23, 2023 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant