-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
enhancementThis issue/PR relates to a feature request.This issue/PR relates to a feature request.high-priority
Description
Support for a ~/.cookiecutterrc and/or /path/to/proj/.cookiecutterrc
Inside, you'd be able to specify defaults for when a Cookiecutter template contains a particular context value.
For example, in my ~/.cookiecutterrc I might have something like:
[defaults]
full_name = Audrey Roy
email = audreyr@gmail.com
github_username = audreyr
[mappings]
fullName = full_name
githubUsername = github_username
github = github_username
ini seems to be the most common format for .rc files. Would it make sense to use this, or the more flexible json or yaml? Don't know. Are there any examples of tools which use non-ini .rc files?
What would even be in a project/.cookiecutterrc? Don't know.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementThis issue/PR relates to a feature request.This issue/PR relates to a feature request.high-priority