Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

several templates in one repo #1279

Closed
m-birke opened this issue Aug 1, 2023 · 1 comment
Closed

several templates in one repo #1279

m-birke opened this issue Aug 1, 2023 · 1 comment

Comments

@m-birke
Copy link

m-birke commented Aug 1, 2023

Actual Situation

I have a git repo with several templates collected, each one has its own directory

Desired Situation

It would be cool if it would be possible to specify a directory within a git repo where the template is located.

Proposed solution

additional param for copier copy like --directory ?

Like cookiecutter is doin it

@sisp
Copy link
Member

sisp commented Aug 2, 2023

This is answered in the docs: https://copier.readthedocs.io/en/latest/configuring/#subdirectory

Can I have multiple templates in a single repo using this option?

The Copier recommendation is: 1 template = 1 Git repository.

[...]

Duplicate of #315 #1078.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants