Generate bash completion scripts
Syntax
werf completion [options]
Examples
# Load bash completion
$ source <(werf completion)
# or for older bash versions (e.g. bash 3.2 on macOS):
$ source /dev/stdin <<< "$(werf completion)"
# Load zsh completion
$ autoload -Uz compinit && compinit -C
$ source <(werf completion --shell=zsh)
# Load fish completion
$ source <(werf completion --shell=fish)
# Load powershell completion
$ werf completion --shell=powershell | Out-String | Invoke-Expression
Options
--shell='bash'
Set to bash, zsh, fish or powershell (default $WERF_SHELL or bash)