Lightbits CSI Plugin Guide
Lightbits vCenter Configuration Guide
Lightbits OpenStack Driver Support
Lightbits DMS Guide
Lightbits Cluster Federation
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
cfcli gen auto-complete
Copy Markdown
Open in ChatGPT
Open in Claude
Generates a shell autocompletion script for cfcli.
Synopsis
Generates a shell autocompletion script for cfcli.
Note that the current version supports Bash only. This should work for *nix systems with Bash installed.
By default, the file is written directly to /etc/bash_completion.d for convenience, and the command may need superuser rights, e.g.:
Bash
x
$ sudo cfcli gen autocompleteAdd "--completionfile=_path_to_file" flag to set alternative file-path and name.Log out and in again to reload the completion scripts, or just source them in directly:
Bash
$ . _etc_bash_completionBash
cfcli gen autocomplete [flags]Examples:
Bash
# Create a bash completion filecfcli gen autocomplete --completionfile=_path_to_file| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| -completionfile | string | "/etc/bash_completion.d/cfcli.sh" | Auto completion file. | |
| --help | -h | bool | Help for autocomplete. | |
| --type | string | ”bash” | Auto complete file type (currently only bash-supported). |
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
cfcli gen doc© 2026 Lightbits Labs™
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message