cfcli completion bash

AI Tools

Generates the autocompletion script for bash.

Synopsis

Generates 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 <(cfcli completion bash)

To load completions for every new session, execute the following one time:

Linux:

cfcli completion bash > _etc_bash_completion.d_cfcli

macOS:

cfcli completion bash > $(brew --prefix)_etc_bash_completion.d_cfcli

You will need to start a new shell for this setup to take effect.

cfcli completion bash

Flag

Short

Type

Default

Description

--help

-h

bool


Help for bash.

--no-descriptions


bool


Disable completion descriptions.


On This Page