Creates bash completion file.
Creates a bash completion file at the specified path.
Note: Bash completions will only work with the prefix with which the script is created (e.g. ./vcli
or vcli
).
Once created, the file has to be moved to the bash completion script folder - usually /etc/bash_completion.d/
.
vcli util bash-completion [path] [flags]
-h, --help help for bash-completion
-c, --config string configuration file for the CLI (default ~/.vcli.yml)
Could also be set via VARNISH_CONTROLLER_CLI_CONFIG=/path/to/config.yml
--csv Output the response table as CSV format.
-j, --json Output the response table as JSON format.