2 ms·
This inspired be to look into how Click handles this without Typer, and it turns out it's a supported feature there too: https://click.palletsprojects.com/en/8.
by simonw 4y ago
This inspired be to look into how Click handles this without Typer, and it turns out it's a supported feature there too: https://click.palletsprojects.com/en/8.1.x/shell-completion/ https://click.palletsprojects.com/en/8.1.x/shell-completion/
I got it working for my sqlite-utils tool in zsh by running this:
eval "$(_SQLITE_UTILS_COMPLETE=zsh_source sqlite-utils)"