-
-
Notifications
You must be signed in to change notification settings - Fork 203
-
It would be convenient to define config options in pyproject.toml instead of the command line. Something like the following in pyproject.toml would define the app path along with host and port:
[tool.quart] entrypoint = "myapp.main:app" host = "10.123.189.2" port = 8080
This would allow the run command to just be this:
quart run
Instead of the current syntax which is something like this:
quart --app myapp.main:app run --host 10.123.189.2 --port 8080
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
I've got you covered: my Click Extra project can feed options to a Click CLI from a [tool.*] section of a pyproject.toml. See the details at: https://kdeldycke.github.io/click-extra/config.html#pyproject-toml
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment