dmscli gen autocomplete

AI Tools

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.

dmscli gen autocomplete [flags]

Examples:

# Create a bash completion file dmscli 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).


On This Page