hay-kot / scaffold

A cookie cutter alternative with in-project scaffolding for generating components, controllers, or other common code patterns.
https://hay-kot.github.io/scaffold/
MIT License
63 stars 8 forks source link

feature: Support syncing projects back to the template #221

Closed mircea-pavel-anton closed 1 month ago

mircea-pavel-anton commented 2 months ago

Similar to how we can use cruft to sync a cookiecutter repo back to the original template, I think it would be useful to implement something similar in scaffold.

My usecase for this is that I have a monorepo of various repo templates and I sometimes update them by adding new workflows or making various changes. It would be helpful to allow downstream repos to update themselves back to the upstream template to propagate those changes automatically

alexeagle commented 1 month ago

I think this is the same request as https://github.com/hay-kot/scaffold/discussions/173

mircea-pavel-anton commented 1 month ago

Indeed it is! I did not think to look into discussions for this 😅

Should I close this as a duplicate?