litestar-org / advanced-alchemy

A carefully crafted, thoroughly tested, optimized companion library for SQLAlchemy
http://docs.advanced-alchemy.litestar.dev/
MIT License
217 stars 25 forks source link

Proposal: Add support for the new FastApi Cli #182

Open ryou90 opened 4 months ago

ryou90 commented 4 months ago

Summary

Fastapi now hast his own cli : https://github.com/tiangolo/fastapi/releases/tag/0.111.0

Proposal: Extension for integration of advanced alchemy in FastApi cli.

Basic Example

No response

Drawbacks and Impact

No response

Unresolved questions

No response

cofin commented 4 months ago

Just to understand more. You'd be looking for the same CLI functionality that Litestar has but with the Typer CLI in fastapi-cli?

I'd have to look a bit more, but I think this is feasible.

ryou90 commented 4 months ago

So I'm thinking primarily of the alembic command. It would be nice to be able to use these directly with the fastapi-cli