completion
Print a completion script for the current CLI. Source it yourself — kyku completion never writes your shell rc files.
Completes top-level commands and their flags. It does not complete resource IDs from state.
kyku completion <bash|zsh|fish>Install (one-liner per shell)
Section titled “Install (one-liner per shell)”# bashecho 'source <(kyku completion bash)' >> ~/.bashrc# zshecho 'source <(kyku completion zsh)' >> ~/.zshrc# fishkyku completion fish > ~/.config/fish/completions/kyku.fishReload the shell (or source the rc file) after adding the line.
Examples
Section titled “Examples”kyku completion bashkyku completion zshkyku completion fishExit Codes
Section titled “Exit Codes”| Code | Meaning |
|---|---|
| 0 | Script printed |
| 1 | Unknown shell |