-
Notifications
You must be signed in to change notification settings - Fork 0
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.9.1 #10
base: main
Are you sure you want to change the base?
Conversation
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
Reviewer's Guide by SourceryThis PR updates the cobra module from v1.8.1 to v1.9.0. It also updates the pflag dependency and updates the go.sum file with the new checksums. Sequence diagram for command completionsequenceDiagram
participant User
participant Shell
participant Cobra Command
User->>Shell: Types command and presses tab
Shell->>Cobra Command: Requests completions
Cobra Command->>Cobra Command: Executes CompletionFunc
Cobra Command-->>Shell: Returns completions
Shell-->>User: Displays completions
Updated class diagram for Cobra CommandclassDiagram
class Command {
+Use string
+Short string
+Long string
+RunE func(cmd *Command, args []string) error
+Execute() error
+AddCommand(cmd ...*Command)
+SetOutput(out io.Writer)
+CompletionWithDesc(name string, short string, comp CompletionFunc) *Command
}
note for Command "Command now includes CompletionWithDesc helper"
class CompletionFunc {
<<interface>>
CompletionFunc(cmd *Command, args []string, toComplete string) ([]string, Directive)
}
Command --|> CompletionFunc : uses
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
We have skipped reviewing this pull request. It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!
689c184
to
ea90ef2
Compare
This PR contains the following updates:
v1.8.1
->v1.9.1
Release Notes
spf13/cobra (github.com/spf13/cobra)
v1.9.1
Compare Source
🐛 Fixes
Full Changelog: spf13/cobra@v1.9.0...v1.9.1
v1.9.0
Compare Source
✨ Features
🐛 Fixes
🤖 Completions
🧪 Testing
✍🏼 Documentation
🔧 Dependency upgrades
pflag
dependencies for v1.9.0 by @jpmcb in https://github.com/spf13/cobra/pull/2233Thank you to all of our amazing contributors and all the great work that's been going into the completions feature!!
👋🏼 New Contributors
Full Changelog: spf13/cobra@v1.8.1...v1.9.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.
This PR was generated by Mend Renovate. View the repository job log.