cbsupport completion

1 minute read

Generate the completion script

1. Synopsis

To load completions:

Bash:

$ source <(cbsupport completion bash)

To load completions for each session, execute once:

Linux: $ cbsupport completion bash > /etc/bash_completion.d/cbsupport MacOS: $ cbsupport completion bash > /usr/local/etc/bash_completion.d/cbsupport

Zsh:

If shell completion is not already enabled in your environment you will need

to enable it. You can execute the following once:

$ echo “autoload -U compinit; compinit” >> ~/.zshrc

To load completions for each session, execute once:

$ cbsupport completion zsh > "$\{fpath[1]}/_cbsupport"

You will need to start a new shell for this setup to take effect.

Fish:

$ cbsupport completion fish | source

To load completions for each session, execute once:

$ cbsupport completion fish > ~/.config/fish/completions/cbsupport.fish

cbsupport completion [bash|zsh|fish|powershell|help]

2. Options

  -h, --help   help for completion

3. Options inherited from parent commands

      --advanced-mode                   Turn on advanced mode: more settings are accessible, you should not need this most of the time
      --bundle-generation-timeout int   Set the bundle download generation timeout in seconds (default 300)
      --debug                           Turn on debug output

4. SEE ALSO

  • cbsupport - CloudBees Support Command Line Utility