-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Specify user config file via cli or environment variable #565
Specify user config file via cli or environment variable #565
Conversation
Current coverage is
|
Review pls 🙇 |
02fec56
to
21c0f67
Compare
Rebased 😤 |
Can you trigger a rebuild, please? Errors seem to be |
Nvm, removed an obsolete TODO 😹 |
Take that, appveyor! 👊 |
I laughed 😸 |
Ha ha ha. Me too! 🌜 |
Hrhr |
TODO
|
Added support for ignoring a user config altogether via I feel this PR drastically improves the ability to write isolated tests. 🚀 Please let me know your thoughts. 🙇 |
Specify user config file via cli or environment variable
Retrieve the user config file from a custom location via:
$ cookiecutter --config /home/audreyr/my-custom-config.yaml cookiecutter-pypackage
or
$ export COOKIECUTTER_CONFIG=/home/audreyr/my-custom-config.yaml
--config
takes precedence overCOOKIECUTTER_CONFIG
over~/.cookiecutterrc
.Close #424, close #258 cc @jhermann @pfmoore