Prints shell completion scripts
tkn completion [SHELL]
This command prints shell completion code which must be evaluated to provide interactive completion
Supported Shells: - bash - zsh - fish - powershell
To load completions:
Bash:
$ source <(tkn completion bash)
Linux: $ tkn completion bash > /etc/bash_completion.d/tkn
MacOS: $ tkn completion bash > /usr/local/etc/bash_completion.d/tkn
Zsh:
$ echo "autoload -U compinit; compinit" >> ~/.zshrc
$ tkn completion zsh > "${fpath[1]}/_tkn"
Fish:
$ tkn completion fish | source
$ tkn completion fish > ~/.config/fish/completions/tkn.fish
-h, --help help for completion
- tkn - CLI for tekton pipelines