cookiecutter
cookiecutter copied to clipboard
Question: Is updating existing project base on new cookiecutters a feature?
This is a feature suggestion. Could not find anything like this in the docs or existing issues.
Example
Imagine the following workflow
- Create repo a from template- (=cookiecutter) my_template_b
- Work on repo a
- Then you update template my_template_b, because you want to for example introduce a new linter
- Run
coockiecutter --update gh:user/my_template_band the additional linter is added to the repo a.
It could be hard to implement. But do you think this would be a useful feature?
Hey, there is a project here that does what you are wanting https://github.com/cruft/cruft
I've been using it successfully for a while now however I've just discovered that it does not run the pre_prompt.py hook so be aware of that if that is something you use