mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
Add k3d
completions
This commit is contained in:
parent
82de51b9d3
commit
da16e8c6b3
1 changed files with 13 additions and 0 deletions
13
share/completions/k3d.fish
Normal file
13
share/completions/k3d.fish
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Disable file completion
|
||||
complete -c k3d -f
|
||||
|
||||
# Only suggest the following commands if none have been used yet
|
||||
complete -rc k3d -n __fish_use_subcommand -a create -d "Create a resource [cluster, node]"
|
||||
complete -rc k3d -n __fish_use_subcommand -a delete -d "Delete a resource [cluster, node]"
|
||||
complete -rc k3d -n __fish_use_subcommand -a get -d "Get a resource [cluster, node, kubeconfig]"
|
||||
complete -rc k3d -n __fish_use_subcommand -a help -d "Help menu"
|
||||
complete -rc k3d -n __fish_use_subcommand -a load -d "Load an in image into a cluster"
|
||||
complete -rc k3d -n __fish_use_subcommand -a start -d "Start a resource [cluster, node]"
|
||||
complete -rc k3d -n __fish_use_subcommand -a stop -d "Stop a resource [cluster, node]"
|
||||
complete -rc k3d -n __fish_use_subcommand -a version -d "Print k3d version"
|
||||
complete -rc k3d -n __fish_use_subcommand -a --help -d "Show usage help"
|
Loading…
Reference in a new issue