litestar-org / litestar

Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs
https://litestar.dev/
MIT License
5.64k stars 382 forks source link

Enhancement: Crud-generator cli command similar to Nest JS #1272

Open arunkumar-pt opened 1 year ago

arunkumar-pt commented 1 year ago

What's the feature you'd like to ask for. I was a good user of Nest JS framework and was looking for a similar framework in python and was happy that I found 'Starlite'. So as I started exploring the 'Starlite' framework, I kind of missing tools similar to nest-cli. It enables the scaffolding of a project easily.

Wondering if starlite has any plans to implement a cli tools.

Additional context Reference: https://docs.nestjs.com/recipes/crud-generator

Fund with Polar

cofin commented 1 year ago

This would be a great feature. We'll be releasing a repository and service pattern for SQL Alchemy in an upcoming release, so these types of CLI enhancements could be really helpful for application scaffolding.

aarcex3 commented 3 months ago

Hi, is this still open?. I would like to do a prototype for this. Is it ok to use click for this? Also, should this be in this same repo or in a new one, e.g. litestar-cli?

Alc-Alc commented 3 months ago

Hi, is this still open?. I would like to do a prototype for this. Is it ok to use click for this? Also, should this be in this same repo or in a new one, e.g. litestar-cli?

Thanks for the initiative @aarcex3 I believe this user @ch-iv has a "work in progress" repo going on here https://github.com/ch-iv/litestar-manage

Maybe you can join efforts there if you are both willing?