from cookiecutter.main import cookiecutter cookiecutter("cookiecutter-test", # directory=".", extra_context={"foo": "quz"}, output_dir="test_output")