SIGN IN SIGN UP

Accept json file for extra_context (#264)

* Accept json file for extra_context

Added get_extra_context_from_file in cookiecutter.py to parse the extra_context json and return it to the create command.

Added an extra_context_file option to _cli.py

If the create command is called it will first see if the extra_context_file exists and if so it will parse the file and assign it to the extra_context variable.

* Unit tests for creating a project with extra context data in a JSON file
K
Kevin Mills committed
1a5614fcf7fda50fb9cfb580ca412e15ec082cb3
Parent: 2a13954
Committed by GitHub <noreply@github.com> on 7/8/2023, 9:55:11 AM