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
Is your feature request related to a problem? Please describe.
I would love to be able to put multiple templates in a single git repository. Currently, when I reference a git URL to run Copier it only seems to find a copier.yml file in the root directory of the repo.
Describe the solution you'd like
Ideally I would like to be able to reference a path to the template root from the command-line. Given a repo structure like this:
I can think of two common patterns that could work: copier --vcs-ref HEAD git@github.com:DeloitteHux/hux-k8s-cd-cdm-template.git//template_1 /path/to/render copier --vcs-ref HEAD --template-root template_1 git@github.com:DeloitteHux/hux-k8s-cd-cdm-template.git /path/to/render
Describe alternatives you've considered
Multiple repositories, which is fine to a degree, but there are use-cases where we want a single repo with multiple templates.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I would love to be able to put multiple templates in a single git repository. Currently, when I reference a git URL to run Copier it only seems to find a
copier.yml
file in the root directory of the repo.Describe the solution you'd like
Ideally I would like to be able to reference a path to the template root from the command-line. Given a repo structure like this:
I can think of two common patterns that could work:
copier --vcs-ref HEAD git@github.com:DeloitteHux/hux-k8s-cd-cdm-template.git//template_1 /path/to/render
copier --vcs-ref HEAD --template-root template_1 git@github.com:DeloitteHux/hux-k8s-cd-cdm-template.git /path/to/render
Describe alternatives you've considered
Multiple repositories, which is fine to a degree, but there are use-cases where we want a single repo with multiple templates.
The text was updated successfully, but these errors were encountered: