TankaFlexible, reusable and concise configuration for Kubernetes
Edit page
Writing Jsonnet
Command-line completionDirectory structureDiff strategiesOutput filteringFrequently asked questionsKnown issues

Command-line Completion

Tanka supports CLI completion for bash, zsh and fish.

# Install
$ tk --install-completion

# Uninstall
$ tk --uninstall-completion

As tanka is its own completion handler, it needs to hook into your shell's configuration file (.bashrc, etc).

When using other shells than bash, Tanka relies on a Bash compatibility mode. It enables this automatically when installing, but please make sure no other completion (e.g. OhMyZsh) interferes with this, or your completion might not work properly.
It sometimes depends on the order the completions are being loaded, so try putting Tanka before or after the others.