completions
Generate or install Qlty CLI shell completions
When the --shell argument is omitted, it will attempt to detect the current shell using the $SHELL environment variable (or an operating system check for PowerShell on Windows).
When the --install argument is specified, it will attempt to update the current user’s shell configuration to include the tab completions. This operation involves writing to files like .zshrc but should generally be safe.
Arguments
--shell
--shell
Shell to generate completions for [possible values: bash, elvish, fish, powershell, zsh]
--install
Install completions for the given shell
Examples
Install Qlty CLI completions for the current shell
Generate completions for Bash (no install)