You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! First of all, thank you for this excellent tool — we’ve found drupal-code-generator very helpful for automating scaffolding in our Drupal projects.
I'm currently exploring a use case where we want to trigger code generation from a REST API instead of from the CLI. However, I’ve found that the input logic (interactive questions, options, etc.) is tightly coupled with the code generation logic.
Is there a way to achieve this functionality using the current codebase?
I’m considering creating a class in the same spirit as BaseGenerator, but designed to generate files using an array of structured input data instead. If you've already implemented something like this or can provide any guidance, that would be greatly appreciated!