Title
Create new category
Edit page index title
Edit category
Edit link
dmscli gen autocomplete
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.
Examples:
Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--help | -h | bool | Help for | |
--completionfile | string | "/etc/bash_completion.d/dmscli.sh" | Autocompletion file. | |
--type | string | "bash" | Auto complete file type (currently only bash is supported). |
© 2026 Lightbits Labs™