lbcli gen auto-complete

Generates a shell autocompletion script for lbcli.

Synopsis

Generates a shell autocompletion script for lbcli.

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
Copy
Bash
Copy

Examples:

Bash
Copy
FlagShortTypeDefaultDescription
-completionfilestring"/etc/bash_completion.d/lbcli.sh"Auto completion file.
--help-hboolHelp for autocomplete.
--typestring”string”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