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.

Bash
Copy

Examples:

Bash
Copy
FlagShortTypeDefaultDescription
--help-hboolHelp for autocomplete.
--completionfilestring"/etc/bash_completion.d/dmscli.sh"Autocompletion file.
--typestring"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