cookiecutter icon indicating copy to clipboard operation
cookiecutter copied to clipboard

Question: Is updating existing project base on new cookiecutters a feature?

Open ct2034 opened this issue 1 year ago • 1 comments

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_b and 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?

ct2034 avatar Dec 05 '24 15:12 ct2034

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

curlyboi123 avatar Dec 09 '24 17:12 curlyboi123