completions

$qlty completions [--install]

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

Examples

Install Qlty CLI completions for the current shell
$qlty completions --install
Generate completions for Bash (no install)
$qlty completions --shell bash

See Also