Open mostafa opened 9 months ago
Hey @mostafa ,
1-I consider the above directory structure for the templates. Do you agree with the structure? 2-With the introduction of cookiecutter-like templating, the flow for creating plugins will change. Currently, users can fork or use the GitHub template to get started. However, with templating, users will scaffold their plugin in a separate directory/project using this project and the scaffolder command in gatewayd project. Is my assumption correct?
Hey @zeina1i,
gatewayd
command will take care of generating a plugin from the template. I can create a separate repo to continue the development of this template-based system. WDYT?Hey @mostafa
Yes. I agree. Let's do it👍
Hey @mostafa Thanks, I will check it
Cookiecutter templates are good for scaffolding new projects based on a template. There are similar projects for Go, like go-scaffold. The idea is to convert this project into a cookiecutter(-like) template and let the
gatewayd plugin scaffold/init
command take care of creating a project for the user.Related