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
I believe it would be very helpful to every user of copier to allow for DRYer templates. Common redundancies across templates which can not be addressed via the current functionality of copier are:
sets of files (e.g. all my web templates feature the same set of static files)
contents of copier.yaml (e.g. I always run the same seven tasks, regardless of the project)
Potential solutions:
allow to inherit an entire folder: all folders of a given path will be copied over to the new rendered folder
allow inheritance of copier.yaml files where a parent template can be included
EDIT:
I believe this issue is not clear enough. In part because I wasn't sure what I was looking for.
I am working on making the idea clearer.
The text was updated successfully, but these errors were encountered:
pykong
changed the title
Enhancement - Keeping templates DRY
Enhancement - Template folders
Aug 19, 2019
pykong
changed the title
Enhancement - Template folders
Enhancement - Parent template folders
Aug 19, 2019
I believe it would be very helpful to every user of
copier
to allow for DRYer templates. Common redundancies across templates which can not be addressed via the current functionality ofcopier
are:copier.yaml
(e.g. I always run the same seven tasks, regardless of the project)Potential solutions:
copier.yaml
files where a parent template can be includedEDIT:
I believe this issue is not clear enough. In part because I wasn't sure what I was looking for.
I am working on making the idea clearer.
The text was updated successfully, but these errors were encountered: