Closed roaldarbol closed 10 months ago
I think typically we want to do something like expose an entrypoint like https://github.com/sneakers-the-rat/journal-rss/blob/23636f3fd78df215b92d05644d19e3dbbdbcc1a1/pyproject.toml#L28
So one would do poetry run start
but if we wanted to make an executable module we could just rename main.py
to __main__.py
?
In any case agreed the entrypoint needs to be documented lol.
Edit: thats also a very javascript-brained name that will only work in a venv (or else it would shadow anything else named start
- so we should probably make a click CLI interface like journal-rss start
instead
That sounds good to me - I just think we should have it documented how we do it at all times, so for now document current behaviour to ensure everyone who wants to contribute won't stumble over the low hurdles. :) So if we make a CLI, that's cool too, but then we can change the docs then I'd think.
I've just added a small section about how to get the app running. We can add more stuff here when needed.