CLI Autocomplete

Autocompletion is supported for all major shells including: zsh, bash, powershell, and fish. Similar to the completion configuration for kubectl, use the following command to create the completion script.

playground completion [command]

Available Commands:
  bash        Generate the autocompletion script for bash
  fish        Generate the autocompletion script for fish
  powershell  Generate the autocompletion script for powershell
  zsh         Generate the autocompletion script for zsh

For example, to enable the completion in zsh, add the following lines to your ${HOME}/.zshrc file, or the one your zsh is taking the configuration from.

# Completion for playground
source <(playground completion zsh); compdef _playground playground