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 <(veidemannctl completion bash)
To load completions for every new session, execute once:
veidemannctl completion bash > /etc/bash_completion.d/veidemannctl
veidemannctl completion bash > $(brew --prefix)/etc/bash_completion.d/veidemannctl
You will need to start a new shell for this setup to take effect.
veidemannctl completion bash
-h, --help help for bash
--no-descriptions disable completion descriptions
--api-key string If set, it will be used as the bearer token for authentication
--config string Path to the config file to use (By default configuration file is stored under $HOME/.veidemann/contexts/
--context string The name of the context to use
--log-caller include information about caller in log output
--log-format string set log format, available formats are: "pretty" or "json" (default "pretty")
--log-level string set log level, available levels are "panic", "fatal", "error", "warn", "info", "debug" and "trace" (default "info")
--server string The address of the Veidemann server to use
--server-name-override string If set, it will override the virtual host name of authority (e.g. :authority header field) in requests