Summary
Add shell tab-completion scripts for bash, zsh, fish, and PowerShell.
Proposed Completions
teeclip --<TAB>
# --paste --append --backend --no-clipboard --quiet --version --list --get --clear --save --config
teeclip --backend <TAB>
# windows macos xclip xsel wayland wsl
teeclip --get <TAB>
# 1 2 3 4 5 (from history)
Implementation Options
- Static scripts: Ship pre-written completion files in
completions/
- argcomplete: Add
argcomplete as optional dependency for automatic argparse completions
- Generated:
teeclip --completions bash outputs the script for users to source
Delivery
pip install teeclip[completions] for argcomplete-based
- Or include static scripts and document sourcing in README
Related
Summary
Add shell tab-completion scripts for bash, zsh, fish, and PowerShell.
Proposed Completions
Implementation Options
completions/argcompleteas optional dependency for automatic argparse completionsteeclip --completions bashoutputs the script for users to sourceDelivery
pip install teeclip[completions]for argcomplete-basedRelated