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)

Options

      --shell='bash'
            Set to bash or zsh (default $WERF_SHELL or bash)