confluent completion¶
Description¶
Use this command to print the output shell completion code for the specified shell (Bash only). The shell code must
be evaluated to provide interactive completion of confluent
commands.
confluent completion <shell> [flags]
Flags¶
-h, --help Print command information.
Global Flags¶
-v, --verbose count Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
Example¶
Install Bash completions on macOS:
# Enable Bash completions using homebrew
brew install bash-completion
# Set the confluent completion code for Bash to a file that's sourced on log in
confluent completion bash > $(brew --prefix)/etc/bash_completion.d/confluent
Install Bash completions on Linux:
# Set the confluent completion code for Bash to a file that's sourced on log in
confluent completion bash > /etc/bash_completion.d/confluent
# Load the confluent completion code for Bash into the current shell
source /etc/bash_completion.d/confluent