github spf13/cobra v1.9.0

latest release: v1.9.1
6 days ago

✨ Features

  • Allow linker to perform deadcode elimination for program using Cobra by @aarzilli in #1956
  • Add default completion command even if there are no other sub-commands by @marckhouzam in #1559
  • Add CompletionWithDesc helper by @ccoVeille in #2231

🐛 Fixes

🤖 Completions

  • Make Powershell completion work in constrained mode by @lstemplinger in #2196
  • Improve detection for flags that accept multiple values by @thaJeztah in #2210
  • add CompletionFunc type to help with completions by @ccoVeille in #2220
  • Add similar whitespace escape logic to bash v2 completions than in other completions by @kangasta in #1743
  • Print ActiveHelp for bash along other completions by @marckhouzam in #2076
  • fix(completions): Complete map flags multiple times by @gabe565 in #2174
  • fix(bash): nounset unbound file filter variable on empty extension by @scop in #2228

🧪 Testing

✍🏼 Documentation

🔧 Dependency upgrades


Thank you to all of our amazing contributors and all the great work that's been going into the completions feature!!

👋🏼 New Contributors

Full Changelog: v1.8.1...v1.9.0

Don't miss a new cobra release

NewReleases is sending notifications on new releases.