Completions

vcspull 1.15+ (experimental)

Note

See the shtab library’s documentation on shell completion for the most up to date way of connecting completion for vcspull.

Provisional support for completions in vcspull 1.15+ are powered by shtab. This must be installed separately, as it’s not currently bundled with vcspull.

$ pip install shtab --user

Or using uv:

$ uv tool install shtab

For one-time use without installation:

$ uvx shtab
shtab --shell=bash -u vcspull.cli.create_parser \
  | sudo tee "$BASH_COMPLETION_COMPAT_DIR"/VCSPULL
shtab --shell=zsh -u vcspull.cli.create_parser \
  | sudo tee /usr/local/share/zsh/site-functions/_VCSPULL
shtab --shell=tcsh -u vcspull.cli.create_parser \
  | sudo tee /etc/profile.d/VCSPULL.completion.csh

vcspull 0.9 to 1.14

Note

See the click library’s documentation on shell completion for the most up to date way of connecting completion for vcspull.

vcspull 0.9 to 1.14 use click’s completion:

~/.bashrc:

eval "$(_VCSPULL_COMPLETE=bash_source vcspull)"

~/.zshrc:

eval "$(_VCSPULL_COMPLETE=zsh_source vcspull)"