3 ms·
No idea about Trogon but Typer[0], which is based on the Click library that Trogon leverages, does provide autocompletion. [0]: https://typer.tiangolo.com/ htt
by codethief 3y ago
No idea about Trogon but Typer[0], which is based on the Click library that Trogon leverages, does provide autocompletion.
[0]: https://typer.tiangolo.com/ https://typer.tiangolo.com/
- simonw 3y agoThis 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)"