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?
dmscli gen autocomplete
Copy Markdown
Open in ChatGPT
Open in Claude
Generates a shell autocompletion script for dmscli.
Synopsis
Generates a shell autocompletion script for dmscli. 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.: $ sudo dmscli gen autocomplete Add "--completionfile=/path/to/file" flag to set an alternative file-path and name. Log out and in again to reload the completion scripts, or just source them in directly: $ . /etc/bash_completion.
Bash
dmscli gen autocomplete [flags]Examples:
Bash
# Create a bash completion filedmscli gen autocomplete --completionfile=/path/to/file| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| --help | -h | bool | Help for autocomplete. | |
| --completionfile | string | "/etc/bash_completion.d/dmscli.sh" | Autocompletion file. | |
| --type | string | "bash" | Auto complete file type (currently only bash is 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:
dmscli 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