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

Are values templated as well in copier.yml? #181

Closed
pawamoy opened this issue Apr 16, 2020 · 1 comment
Closed

Are values templated as well in copier.yml? #181

pawamoy opened this issue Apr 16, 2020 · 1 comment

Comments

@pawamoy
Copy link
Contributor

pawamoy commented Apr 16, 2020

Still coming from cookiecutter 😅

I was previously using templates values in my cookiecutter.json, something like:

{
    "author_username": "Your username",
    "repository_namespace": "{{ cookiecutter.author_username }}"
}

Is this supported by copier?

author_username:
  type: str
  help: Your username (e.g. on GitHub)

repository_namespace:
  type: str
  help: Your repository namespace
  default: "[[ author_username ]]"
@pawamoy
Copy link
Contributor Author

pawamoy commented Apr 16, 2020

Ah, I see there's already a feature request: #90. Closing.

@pawamoy pawamoy closed this as completed Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant