Miscellaneus Changes
- reverse the meaning of -n (#47) by TLINDEN
Setting-n
now enables numbered headers, otherwise headers are printed unnumbered by default. The old behavior was annoying and the numbers are not really needed anymore since we can use named headers, like-c id,name
. - Bump github.com/spf13/cobra from 1.8.1 to 1.9.1 (#45) by dependabot[bot]
Bumps github.com/spf13/cobra from 1.8.1 to 1.9.1.
Release notes
Sourced from github.com/spf13/cobra's releases.
v1.9.1
🐛 Fixes
- Fix CompletionFunc implementation by
@ccoVeille
in spf13/cobra#2234- Revert "Make detection for test-binary more universal (#2173)" by
@marckhouzam
in spf13/cobra#2235Full Changelog: spf13/cobra@v1.9.0...v1.9.1
v1.9.0
✨ Features
- Allow linker to perform deadcode elimination for program using Cobra by
@aarzilli
in spf13/cobra#1956- Add default completion command even if there are no other sub-commands by
@marckhouzam
in spf13/cobra#1559- Add CompletionWithDesc helper by
@ccoVeille
in spf13/cobra#2231🐛 Fixes
- Fix deprecation comment for Command.SetOutput by
@thaJeztah
in spf13/cobra#2172- Replace deprecated ioutil usage by
@nirs
in spf13/cobra#2181- Fix --version help and output for plugins by
@nirs
in spf13/cobra#2180- Allow to reset the templates to the default by
@marckhouzam
in spf13/cobra#2229🤖 Completions
- Make Powershell completion work in constrained mode by
@lstemplinger
in spf13/cobra#2196- Improve detection for flags that accept multiple values by
@thaJeztah
in spf13/cobra#2210- add CompletionFunc type to help with completions by
@ccoVeille
in spf13/cobra#2220- Add similar whitespace escape logic to bash v2 completions than in other completions by
@kangasta
in spf13/cobra#1743- Print ActiveHelp for bash along other completions by
@marckhouzam
in spf13/cobra#2076- fix(completions): Complete map flags multiple times by
@gabe565
in spf13/cobra#2174- fix(bash): nounset unbound file filter variable on empty extension by
@scop
in spf13/cobra#2228🧪 Testing
- Test also with go 1.23 by
@nirs
in spf13/cobra#2182- Make detection for test-binary more universal by
@thaJeztah
in spf13/cobra#2173✍🏼 Documentation
- docs: update README.md by
@eltociear
in spf13/cobra#2197- Improve site formatting by
@nirs
in spf13/cobra#2183- doc: add Conduit by
@raulb
in spf13/cobra#2230- doc: azion project added to the list of CLIs that use cobra by
@maxwelbm
in spf13/cobra#2198- Fix broken links in active_help.md by
@vuil
in spf13/cobra#2202- chore: fix function name in comment by
@zhuhaicity
in spf13/cobra#2216🔧 Dependency upgrades
- build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.5 to 2.0.6 by
@thaJeztah
in spf13/cobra#2206- Update to latest go-md2man by
@mikelolasagasti
in spf13/cobra#2201
... (truncated)
Commits
40b5bc1
Revert "Make detection for test-binary more universal (#2173)" (#2235)a97f9fd
fix CompletionFunc implementation (#2234)5f9c408
chore: Upgrade dependencies for v1.9.0 (#2233)24ada7f
Remove the default "completion" cmd if it is alone (#1559)680936a
New logo8cb30f9
feat: add CompletionWithDesc helper (#2231)17b6dca
doc: add Conduit (#2230)ab5cadc
Allow to reset the templates to the default (#2229)4ba5566
fix(bash): nounset unbound file filter variable on empty extension (#2228)41b26ec
Print ActiveHelp for bash along other completions (#2076)- Additional commits viewable in compare view
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 show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@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)
Full Changelog: v1.3.3...v1.4.0