Generate completion script
To load completions:
Bash:
$ source <(k3p completion bash)
Linux: $ k3p completion bash > /etc/bash_completion.d/k3p MacOS: $ k3p completion bash > /usr/local/etc/bash_completion.d/k3p
Zsh:
$ echo "autoload -U compinit; compinit" >> ~/.zshrc
$ k3p completion zsh > "${fpath[1]}/_k3p"
Fish:
$ k3p completion fish | source
$ k3p completion fish > ~/.config/fish/completions/k3p.fish
k3p completion [bash|zsh|fish|powershell]
-h, --help help for completion
--cache-dir string Override the default location for cached k3s assets (default "/home/<user>/.k3p/cache")
--tmp-dir string Override the default tmp directory (default "/tmp")
-v, --verbose Enable verbose logging
- k3p - k3p is a k3s packaging and delivery utility