It would be nice if we could have a mechanism to trigger generation of code / resources on quarkus create.
Concerns
As projects can also be created using https://code.quarkus.io or using maven mojos / gradle tasks. The functionality should not be baked in the CLI itself but rather as part of an extension. Still, even in the case of extensions this would still require a build.
Alternatives
Alternative approaches could be to introduce a command like: quarkus init or quarkus gen that could trigger the generation part.
In most cases those resources need to be generated as part of the build and it would be nice if they could be there when user edits the project. So, there is room for potential integration with #43588
Description
As we are currently in the process of moving away from codestarts for dockerfile generation (see https://github.com/quarkusio/quarkus/discussions/41352).
It would be nice if we could have a mechanism to trigger generation of code / resources on
quarkus create
.Concerns
As projects can also be created using
https://code.quarkus.io
or using maven mojos / gradle tasks. The functionality should not be baked in the CLI itself but rather as part of an extension. Still, even in the case of extensions this would still require a build.Alternatives
Alternative approaches could be to introduce a command like:
quarkus init
orquarkus gen
that could trigger the generation part.In most cases those resources need to be generated as part of the build and it would be nice if they could be there when user edits the project. So, there is room for potential integration with #43588
Implementation ideas
No response