Odi-ts/odi

cli for Odi?

ankush981 opened this issue ยท 4 comments

Hello, I'm wondering whether it's easy to build a cli for the framework? It'd be good if we can initialize projects with sane defaults (e.g., --api-only, etc.). ๐Ÿค”

Hello @ankush981 !
Yes, CLI is in our roadmap. Planned features:

  1. Project Initialization (including different templates)
  2. Component creation (Controllers, Services, Repos and etc.)
  3. API Docs generation

But I am sure, that this feature list will grow during further development, as ideas appear during the work! ๐Ÿ˜„

In progress, will be released soon

OpenAPI generation is available now. New features coming soon. If you want, you can implement new commands, the structure is pretty simple, so you can easily get in.

It would be nice if the OpenAPI generation happened automatically, sort of how Loopback 4 handles it.