-
-
Notifications
You must be signed in to change notification settings - Fork 467
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
[Feature] Shell completions #270
Conversation
- completion proposes list of existing nodes - available for get/delete/start/stop node
Cool! I actually use k3d to test spf13/cobra#1070 (and many other things). Thanks @iwilltry42 for improving its completion! |
@marckhouzam that's super cool :) |
@iwilltry42 broken with completion? I'm curious to see what is happening in case it's a big in Cobra. Can you clarify? |
@marckhouzam I doubt it's a bug in Cobra 👍 |
This PR aims to add/improve the shell completions provided by k3d by implementing custom functions.
Since our usage strings are a bit special, at least for zsh we need to use a fork of
cobra
until spf13/cobra#1070 got merged.