This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
feature: make run-app command an entrypoint #243
Comments
Seems great! So something like |
That's the plan at least. I gave it a quick go before and it didn't work like I thought (hoped) it would with an editable install locally. In downstream apps I've been putting this in pyproject: [tool.poetry.scripts]
run-app = "starlite_saqlalchemy.scripts:run_app" It also could be a CLI feature, |
Turns out this was simple, I was just missing the correct group name before. [tool.poetry.plugins."console_scripts"]
run-app = "starlite_saqlalchemy.scripts:run_app" With that, I can call |
peterschutt
added a commit
that referenced
this issue
Jan 16, 2023
With starlite-saqlalchemy installed, calling `run-app` will execute `starlite_saqlalchemy.scripts.run_app()`. Closes #243
peterschutt
added a commit
that referenced
this issue
Jan 16, 2023
With starlite-saqlalchemy installed, calling `run-app` will execute `starlite_saqlalchemy.scripts.run_app()`. Closes #243
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: