-
First Check
DescriptionGreetings! I was really enjoying this FastAPI project, which is truly fantastic, but I had a question: why not create a CLI that does all of this, similar to the Angular CLI? This way, we wouldn't need two separate CLIs installed, and it would look something like this: fastapi new (project-name) This would allow for future additions like: fastapi create schema (schema-name) (To create schemas with SQLModel) fastapi create router (router-name) fastapi create controller (router-name) This is just an example to centralize FastAPI a bit more and make your environment more complete. What do you think? Operating SystemLinux, Windows, macOS Operating System DetailsNo response Version1.0.0 Python Versionpython 13 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Thanks! In the case of Additionally, if people do But thanks for the interest! |
Beta Was this translation helpful? Give feedback.
Thanks! In the case of
fastapi-new, it is mainly used to create a new project, a virtual environment, the settings with the packages to install, etc. But it is actually not really used inside of the virtual environment, so it doesn't make that much sense to also have that logic inside and included as part of the rest of thefastapicommands.Additionally, if people do
uvx fastapi-new, they would normally get the latest version, with the latest improvements, so that would be even better than if they a (potentially old) version in a virtual environment.But thanks for the interest!