Keptn v1 reached EOL December 22, 2023. For more information see https://bit.ly/keptn
This documentation is for an older Keptn release. Please consider the newest one when working with the latest Keptn.

keptn completion

keptn completion

Generate completion script

Synopsis

Installing bash completion on macOS using homebrew If running Bash 3.2 included with macOS, run brew install bash-completion If running Bash 4.1+, run brew install bash-completion@2 If you’ve installed via other means, you may need add the completion to your completion directory, run keptn completion bash > $(brew –prefix)/etc/bash_completion.d/keptn

Installing bash completion on Linux If bash-completion is not installed on Linux, please install the ‘bash-completion’ package via your distribution’s package manager. Load the keptn completion code for bash into the current shell source <(keptn completion bash) Write bash completion code to a file and source it from .bash_profile keptn completion bash > /etc/bash_completion.d/keptn If you are a ZSH User Load the keptn completion code for zsh[1] into the current shell source <(keptn completion zsh) Set the keptn completion code for zsh[1] to autoload on startup keptn completion zsh > “${fpath[1]}/_keptn

keptn completion [bash|zsh|fish|powershell]

Options inherited from parent commands

      --config-file string   Specify custom Keptn Config file path (default: ~/.keptn/config)
  -h, --help                 help
      --mock                 Disables communication to a Keptn endpoint
  -n, --namespace string     Specify the namespace where Keptn should be installed, used and uninstalled in (default "keptn")
  -q, --quiet                Suppresses debug and info messages
  -v, --verbose              Enables verbose logging to print debug messages
  -y, --yes                  Assume yes for all user prompts

SEE ALSO

  • keptn - The CLI for using Keptn
Auto generated by spf13/cobra on 31-Jan-2022