canair completion
usage: canair completion [-h] [--install] [{bash,zsh,fish,tcsh,powershell}]
Enable `canair` tab-completion (subcommands, flags, ECU/PID names).
positional arguments:
{bash,zsh,fish,tcsh,powershell}
Target shell (default: auto-detected from $SHELL, else
bash)
options:
-h, --help show this help message and exit
--install Write the completion script into the shell's autoload
directory
examples:
canair completion --install # auto-detect shell, install, done
canair completion --install zsh # install for a specific shell
eval "$(canair completion zsh)" # or wire it up manually (add to ~/.zshrc)
After --install, open a new shell (fish/bash autoload it; zsh loads it from a
directory on $fpath). Completes subcommands, flags, and ECU/PID names from the
active vehicle profile.