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 <(cdsctl completion bash)
To load completions for every new session, execute once:
cdsctl completion bash > /etc/bash_completion.d/cdsctl
cdsctl completion bash > $(brew --prefix)/etc/bash_completion.d/cdsctl
You will need to start a new shell for this setup to take effect.
cdsctl completion bash
--no-descriptions disable completion descriptions
-c, --context string cdsctl context name
-f, --file string set configuration file
--insecure (SSL) This option explicitly allows curl to perform "insecure" SSL connections and transfers.
-n, --no-interactive Set to disable interaction with ctl
--verbose Enable verbose output
Generate the autocompletion script for the specified shell