Home / Keptn v1 Docs / Release 0.14.x / Reference / Keptn CLI / Commands / keptn completion
Generate completion script
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]
--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