litestar-org / advanced-alchemy

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

Enhancement: Add support for the new FastApi Cli #182

Open ryou90 opened 6 months ago

ryou90 commented 6 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 6 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 6 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