From 01769bfae8b4aebea2121b31d27de41dd96a5422 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 2 May 2025 21:53:20 +0000 Subject: [PATCH] Update module github.com/spf13/cobra to v1.9.1 (#557) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/spf13/cobra](https://github.com/spf13/cobra) | require | minor | `v1.8.1` -> `v1.9.1` | --- ### Release Notes
spf13/cobra (github.com/spf13/cobra) ### [`v1.9.1`](https://github.com/spf13/cobra/releases/tag/v1.9.1) [Compare Source](https://github.com/spf13/cobra/compare/v1.9.0...v1.9.1) ##### ๐Ÿ› Fixes - Fix CompletionFunc implementation by [@​ccoVeille](https://github.com/ccoVeille) in https://github.com/spf13/cobra/pull/2234 - Revert "Make detection for test-binary more universal ([#​2173](https://github.com/spf13/cobra/issues/2173))" by [@​marckhouzam](https://github.com/marckhouzam) in https://github.com/spf13/cobra/pull/2235 **Full Changelog**: https://github.com/spf13/cobra/compare/v1.9.0...v1.9.1 ### [`v1.9.0`](https://github.com/spf13/cobra/releases/tag/v1.9.0) [Compare Source](https://github.com/spf13/cobra/compare/v1.8.1...v1.9.0) #### โœจ Features - Allow linker to perform deadcode elimination for program using Cobra by [@​aarzilli](https://github.com/aarzilli) in https://github.com/spf13/cobra/pull/1956 - Add default completion command even if there are no other sub-commands by [@​marckhouzam](https://github.com/marckhouzam) in https://github.com/spf13/cobra/pull/1559 - Add CompletionWithDesc helper by [@​ccoVeille](https://github.com/ccoVeille) in https://github.com/spf13/cobra/pull/2231 #### ๐Ÿ› Fixes - Fix deprecation comment for Command.SetOutput by [@​thaJeztah](https://github.com/thaJeztah) in https://github.com/spf13/cobra/pull/2172 - Replace deprecated ioutil usage by [@​nirs](https://github.com/nirs) in https://github.com/spf13/cobra/pull/2181 - Fix --version help and output for plugins by [@​nirs](https://github.com/nirs) in https://github.com/spf13/cobra/pull/2180 - Allow to reset the templates to the default by [@​marckhouzam](https://github.com/marckhouzam) in https://github.com/spf13/cobra/pull/2229 #### ๐Ÿค– Completions - Make Powershell completion work in constrained mode by [@​lstemplinger](https://github.com/lstemplinger) in https://github.com/spf13/cobra/pull/2196 - Improve detection for flags that accept multiple values by [@​thaJeztah](https://github.com/thaJeztah) in https://github.com/spf13/cobra/pull/2210 - add CompletionFunc type to help with completions by [@​ccoVeille](https://github.com/ccoVeille) in https://github.com/spf13/cobra/pull/2220 - Add similar whitespace escape logic to bash v2 completions than in other completions by [@​kangasta](https://github.com/kangasta) in https://github.com/spf13/cobra/pull/1743 - Print ActiveHelp for bash along other completions by [@​marckhouzam](https://github.com/marckhouzam) in https://github.com/spf13/cobra/pull/2076 - fix(completions): Complete map flags multiple times by [@​gabe565](https://github.com/gabe565) in https://github.com/spf13/cobra/pull/2174 - fix(bash): nounset unbound file filter variable on empty extension by [@​scop](https://github.com/scop) in https://github.com/spf13/cobra/pull/2228 #### ๐Ÿงช Testing - Test also with go 1.23 by [@​nirs](https://github.com/nirs) in https://github.com/spf13/cobra/pull/2182 - Make detection for test-binary more universal by [@​thaJeztah](https://github.com/thaJeztah) in https://github.com/spf13/cobra/pull/2173 #### โœ๐Ÿผ Documentation - docs: update README.md by [@​eltociear](https://github.com/eltociear) in https://github.com/spf13/cobra/pull/2197 - Improve site formatting by [@​nirs](https://github.com/nirs) in https://github.com/spf13/cobra/pull/2183 - doc: add Conduit by [@​raulb](https://github.com/raulb) in https://github.com/spf13/cobra/pull/2230 - doc: azion project added to the list of CLIs that use cobra by [@​maxwelbm](https://github.com/maxwelbm) in https://github.com/spf13/cobra/pull/2198 - Fix broken links in active_help.md by [@​vuil](https://github.com/vuil) in https://github.com/spf13/cobra/pull/2202 - chore: fix function name in comment by [@​zhuhaicity](https://github.com/zhuhaicity) in https://github.com/spf13/cobra/pull/2216 #### ๐Ÿ”ง Dependency upgrades - build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.5 to 2.0.6 by [@​thaJeztah](https://github.com/thaJeztah) in https://github.com/spf13/cobra/pull/2206 - Update to latest go-md2man by [@​mikelolasagasti](https://github.com/mikelolasagasti) in https://github.com/spf13/cobra/pull/2201 - Upgrade `pflag` dependencies for v1.9.0 by [@​jpmcb](https://github.com/jpmcb) in https://github.com/spf13/cobra/pull/2233 *** Thank you to all of our amazing contributors and all the great work that's been going into the completions feature!! ##### ๐Ÿ‘‹๐Ÿผ New Contributors - [@​gabe565](https://github.com/gabe565) made their first contribution in https://github.com/spf13/cobra/pull/2174 - [@​maxwelbm](https://github.com/maxwelbm) made their first contribution in https://github.com/spf13/cobra/pull/2198 - [@​lstemplinger](https://github.com/lstemplinger) made their first contribution in https://github.com/spf13/cobra/pull/2196 - [@​vuil](https://github.com/vuil) made their first contribution in https://github.com/spf13/cobra/pull/2202 - [@​mikelolasagasti](https://github.com/mikelolasagasti) made their first contribution in https://github.com/spf13/cobra/pull/2201 - [@​zhuhaicity](https://github.com/zhuhaicity) made their first contribution in https://github.com/spf13/cobra/pull/2216 - [@​ccoVeille](https://github.com/ccoVeille) made their first contribution in https://github.com/spf13/cobra/pull/2220 - [@​kangasta](https://github.com/kangasta) made their first contribution in https://github.com/spf13/cobra/pull/1743 - [@​aarzilli](https://github.com/aarzilli) made their first contribution in https://github.com/spf13/cobra/pull/1956 **Full Changelog**: https://github.com/spf13/cobra/compare/v1.8.1...v1.9.0
--- ### Configuration ๐Ÿ“… **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC). ๐Ÿšฆ **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, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/557 Reviewed-by: earl-warren Co-authored-by: Renovate Bot Co-committed-by: Renovate Bot --- go.mod | 4 ++-- go.sum | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 910988a..40f50ca 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( github.com/mattn/go-isatty v0.0.20 github.com/nektos/act v0.2.49 github.com/sirupsen/logrus v1.9.3 - github.com/spf13/cobra v1.8.1 + github.com/spf13/cobra v1.9.1 github.com/stretchr/testify v1.10.0 golang.org/x/term v0.31.0 golang.org/x/time v0.11.0 @@ -80,7 +80,7 @@ require ( github.com/robfig/cron/v3 v3.0.1 // indirect github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect github.com/skeema/knownhosts v1.3.0 // indirect - github.com/spf13/pflag v1.0.5 // indirect + github.com/spf13/pflag v1.0.6 // indirect github.com/stretchr/objx v0.5.2 // indirect github.com/timshannon/bolthold v0.0.0-20240314194003-30aac6950928 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect diff --git a/go.sum b/go.sum index 8a2d5ea..53c8213 100644 --- a/go.sum +++ b/go.sum @@ -35,7 +35,7 @@ github.com/containerd/containerd v1.7.13 h1:wPYKIeGMN8vaggSKuV1X0wZulpMz4CrgEsZd github.com/containerd/containerd v1.7.13/go.mod h1:zT3up6yTRfEUa6+GsITYIJNgSVL9NQ4x4h1RPzk0Wu4= github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I= github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo= -github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/creack/pty v1.1.24 h1:bJrF4RRfyJnbTJqzRLHzcGaZK1NeM5kTC9jGgovnR1s= github.com/creack/pty v1.1.24/go.mod h1:08sCNb52WyoAwi2QDyzUCTgcvVFhUzewun7wtTfvcwE= github.com/cyphar/filepath-securejoin v0.3.6 h1:4d9N5ykBnSp5Xn2JkhocYDkOpURL/18CYMpo6xB9uWM= @@ -173,10 +173,10 @@ github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/skeema/knownhosts v1.3.0 h1:AM+y0rI04VksttfwjkSTNQorvGqmwATnvnAHpSgc0LY= github.com/skeema/knownhosts v1.3.0/go.mod h1:sPINvnADmT/qYH1kfv+ePMmOBTH6Tbl7b5LvTDjFK7M= -github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= -github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo= +github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0= +github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o= +github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=