Generate the autocompletion script for bash
Generate the autocompletion script for the bash shell.
This script depends on the 'bash-completion' package. If it is not installed already, you can install it via your OS's package manager.
To load completions in your current shell session:
source <(vespa completion bash)
To load completions for every new session, execute once:
vespa completion bash > /etc/bash_completion.d/vespa
vespa completion bash > $(brew --prefix)/etc/bash_completion.d/vespa
You will need to start a new shell for this setup to take effect.
vespa completion bash
-h, --help help for bash
--no-descriptions disable completion descriptions
-a, --application string The application to use (cloud only)
-C, --cluster string The container cluster to use. This is only required for applications with multiple clusters
-c, --color string Whether to use colors in output. Must be "auto", "never", or "always" (default "auto")
-i, --instance string The instance of the application to use (cloud only)
-q, --quiet Print only errors
-t, --target string The target platform to use. Must be "local", "cloud", "hosted" or an URL (default "local")
-z, --zone string The zone to use. This defaults to a dev zone (cloud only)