completions
Generate or install shell completions for supported shells.
Purpose
mcpkit completions prints or installs a shell completion script.
Basic syntax
mcpkit completions <shell>Verified argument and options
Argument:
<shell>:bash,zsh, orfish
Options:
--install--print
Examples
mcpkit completions bash --printmcpkit completions zsh --installInstall locations
- bash:
~/.local/share/bash-completion/completions/mcpkit - zsh:
~/.zsh/completions/_mcpkit - fish:
~/.config/fish/completions/mcpkit.fish
Precision note
The generated completion scripts are useful, but they are not a perfect mirror of the command definitions. For example, the completion scripts advertise build --clean while the actual CLI option is --no-clean.