kool completion - Commands Reference

Generate shell completion configuration script

Autocompletion:

If you want to use kool autocompletion in your Unix shell, follow the appropriate instructions below.

After running one of the below commands, remember to start a new shell for autocompletion to take effect.

Temporarily enable autocompletion for your current session only:

$ source <(kool completion bash)

Permanently enable autocompletion for all sessions:

Linux:

$ kool completion bash > /etc/bash_completion.d/kool

macOS:

$ kool completion bash > /usr/local/etc/bash_completion.d/kool

If Zsh tab completion is not already initialized on your machine, run the following command to turn it on.

$ echo "autoload -U compinit; compinit" >> ~/.zshrc

Permanently enable autocompletion for all sessions:

$ kool completion zsh > "${fpath[1]}/_kool"

Temporarily enable autocompletion for your current session only:

$ kool completion fish | source

Permanently enable autocompletion for all sessions:

$ kool completion fish > ~/.config/fish/completions/kool.fish

kool completion [bash|zsh|fish|powershell] -h, --help help for completion --verbose Increases output verbosity -w, --working_dir string Changes the working directory for the command
  • kool - Cloud native environments made easy
kool.dev
By choosing "Accept all cookies" you agree to the use of cookies to help us provide you with a better user experience and to analyse website usage. Only the essential cookies are necessary for the proper functioning of our website and cannot be refused.
Check out our Cookie Policy and Privacy Policy for more information.