You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the GitHub search to find a similar question and didn't find it.
I searched in the documentation/README.
I already searched in Google "How to do X" and didn't find any information.
I already read and followed all the tutorial in the docs/README and didn't find an answer.
Commit to Help
I commit to help with one of those options 👆
Example Code
N/A
Description
As lots of apps run in containers and environment variables are a first class citizen for configuration options, I was wondering if is wouldn't be a good idea to add into https://github.com/fastapi/fastapi-cli/blob/main/src/fastapi_cli/cli.py Environment variables alternatives to cli args. If it's already the case, I failed to find it in the --help
Like FASTAPI_HOSTFASTAPI_PORT etc ?
Operating System
Linux
Operating System Details
Any but preliminary linux
Python Version
Python 3.12.3
Additional Context
I'm willing to give a PR a try if the options seems interesting.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First Check
Commit to Help
Example Code
Description
As lots of apps run in containers and environment variables are a first class citizen for configuration options, I was wondering if is wouldn't be a good idea to add into https://github.com/fastapi/fastapi-cli/blob/main/src/fastapi_cli/cli.py Environment variables alternatives to cli args. If it's already the case, I failed to find it in the
--help
Like
FASTAPI_HOST
FASTAPI_PORT
etc ?Operating System
Linux
Operating System Details
Any but preliminary linux
Python Version
Python 3.12.3
Additional Context
I'm willing to give a PR a try if the options seems interesting.
Beta Was this translation helpful? Give feedback.
All reactions