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

Create a text file with answers that were entered in the cookiecutter template #4

Open
bielsnohr opened this issue Sep 27, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bielsnohr
Copy link
Member

This was a question from the SeptembRSE walkthrough. It might be useful to have a record of what was initially entered into the cookiecutter template for a variety of reasons. One that springs to mind is if you spent quite a bit of time implementing your project and now you want to change one of the template parameters. In order to make sure you get all instances of the parameter, you need to know its value and then do a search-and-replace. Having the text file record of these parameters will better enable this process.

@bielsnohr bielsnohr self-assigned this Sep 27, 2021
@bielsnohr bielsnohr added the enhancement New feature or request label Sep 27, 2021
@bielsnohr
Copy link
Member Author

Stumbled across this while looking into something else: https://cookiecutter.readthedocs.io/en/latest/advanced/replay.html#replay-feature

It looks like cookiecutter already stores the input to a template, but in a json in the home directory. Would just need to figure out how to copy that into the current project directory at the end of the session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant