-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
k3s fish completion #6612
Comments
K3s uses urfave cli as the CLI library. This library has builtin support to generate bash and zsh completion code. It unfortunately does not support fish, which makes it unlikely that we will be able to add fish autocompletion to K3s. K3d uses cobra as its CLI library, which does have native fish support. |
:( |
Closing as we don't have any current plans to change our CLI library. |
Note:
|
Is your feature request related to a problem? Please describe.
I am using
fish
shell and would like to have shell completion fork3s
.Describe the solution you'd like
The
produces valid
fish
completions.Describe alternatives you've considered
None.
Additional context
K3s only provides completion for
bash
andzsh
. It'd be great if we could extend that to include alsofish
completions$ k3s completion --help NAME: k3s completion - Install shell completion script USAGE: k3s completion [SHELL] (valid shells: bash, zsh) OPTIONS: -i Install source line to rc file
Also it seems that the issue is solved for
k3d
: https://k3d.io/v5.3.0/usage/commands/k3d_completion/The text was updated successfully, but these errors were encountered: