Hacker News new | ask | show | jobs
by amlozano 745 days ago
Or go a step beyond and get typer (which builds on click IIRC)

https://typer.tiangolo.com/

If you use Poetry and a pyproject.toml, you can even make your package installable with something like pipx straight from Github. Its a trick I use often for little command line utilities.

https://python-poetry.org/docs/pyproject/#scripts

2 comments

What value does poetry add to this? A simple cli should be trivially packageable.
Just any properly packaged Python project is installable from git by pip. No deps needed.