From f5a2384f0fdb2c22bd37d56604c4d39badb89afb Mon Sep 17 00:00:00 2001 From: Peter Schutt Date: Mon, 16 Jan 2023 20:21:33 +1000 Subject: [PATCH] feat: run-app entrypoint With starlite-saqlalchemy installed, calling `run-app` will execute `starlite_saqlalchemy.scripts.run_app()`. Closes #243 --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 28e08147..0a0d3858 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,6 +76,9 @@ uvloop = "*" [tool.poetry.plugins."pytest11"] pytest_starlite_saqlalchemy = "pytest_starlite_saqlalchemy" +[tool.poetry.plugins."console_scripts"] +run-app = "starlite_saqlalchemy.scripts:run_app" + [tool.poetry.urls] GitHub = "https://github.com/topsport-com-au" Bugs = "https://github.com/topsport-com-au/starlite-saqlalchemy/issues"