hubcli completion bash¶
Generates the completion script for the bash shell.
The command has the following format:
hubcli completion bash [flags]
where:
- flags
- One or more optional flags that provide additional control over execution of the command.
The following flags are available:
--debug- Enables debug logging.
-hor--help- Returns help information for this command.
--no-descriptions- Disables completion descriptions.
This script requires the bash-completion package.
If this package is not already installed, you can install it using the package manager of your operating system.
To load completions to the current shell session:
source <(hubcli completion bash)
where source is the name of the file to which the completion script was directed by the command.
To load completions for every subsequent shell session, execute the following command once in the current session:
On Linux:: hubcli completion bash > /etc/bash_completion.d/hubcli
On macOS:: hubcli completion bash > $(brew --prefix)/etc/bash_completion.d/hubcli
You need to start a new shell for the result of these commands to take effect.