The CLI reference lists the commands by task. This page is generated from the development branch's help; run packslip completion --help for the options your installed version supports.

packslip completion

Generate a self-contained shell completion script

Print the script to stdout, and redirect it to a file your shell loads, as the example does for bash. The script asks the installed packslip for candidates, so it needs no other tool and keeps working after upgrades. The setup for each shell is at https://packslip.dev/cli/#set-up-shell-completions

Arguments

Flags

Examples

Install bash completions for your user

mkdir -p ~/.local/share/bash-completion/completions && packslip completion bash > ~/.local/share/bash-completion/completions/packslip