Output shell completion code for the given shell (bash or zsh)
Output shell completion code for the given shell (bash or zsh).
This command prints shell code which must be evaluation to provide interactive completion of jx commands.
$ source <(jx completion bash)
will load the jx completion code for bash. Note that this depends on the bash-completion framework. It must be sourced before sourcing the jx completion, e.g. on the Mac:
$ brew install bash-completion $ source $(brew –prefix)/etc/bash_completion $ source <(jx completion bash)
On a Mac it often works better to generate a file with the completion and source that:
$ jx completion bash > ~/.jx/bash $ source ~/.jx/bash
If you use zsh , the following will load jx zsh completion:
$ source <(jx completion zsh)
 zsh completions are only supported in versions of zsh >= 5.2
jx completion SHELL [flags]
-h, --help help for completion
Options inherited from parent commands
-b, --batch-mode Runs in batch mode without prompting for user input (default true) --verbose Enables verbose output
- jx - jx is a command line tool for working with Jenkins X
Auto generated by spf13/cobra on 14-Dec-2019
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.