hubcli completion fish¶
Generates the completion script for the fish shell.
The command has the following format:
hubcli completion fish [flags]
where:
- flags
- One or more optional flags that provide additional control over execution of the command.
By default, the script is directed to the shell window. To export the script for use in a session, use an operating system redirect, for example:
hubcli completion fish > script.file
The following flags are available:
--debug- Enables debug logging.
-hor--help- Returns help information for this command.
--no-descriptions- Disables completion descriptions.
To load completions to the current shell session, execute the following command:
hubcli completion fish | source
where source is the name of the file to which the completion script was directed by the command.
For example, using the script generated in the example above:
hubcli completion fish | script.file
To load completions for every subsequent shell session, execute the following command once in the current session:
hubcli completion fish > ~/.config/fish/completions/hubcli.fish
You need to start a new shell for the result of this command to take effect.