Hacker News new | past | comments | ask | show | jobs | submit login

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/




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/

I got it working for my sqlite-utils tool in zsh by running this:

    eval "$(_SQLITE_UTILS_COMPLETE=zsh_source sqlite-utils)"




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: