knative / client

Knative developer experience, docs, reference Knative CLI implementation
Apache License 2.0
354 stars 261 forks source link

Add missing completion support for fish and PowerShell shells #1928

Closed tuhtah closed 8 months ago

tuhtah commented 8 months ago

Feature request

CLI completion support for the Bash and ZSH shell is provided using the underlying spf13/cobra library. Cobra additionally supports fish and PowerShell completion support out of the box, see: Generating shell completions

Use case

Other than providing the same discoverability and convenience for fish and PowerShell users it will bring the kn client in line with other plugins (e.g. quickstart) that have chosen to enable completion support for all 4 supported shells.