This commit is contained in:
2024-01-10 15:32:18 +05:00
parent af0f09bab8
commit e000f58c4e

View File

@@ -1,12 +1,6 @@
import typer
from cookiecutter.main import cookiecutter
# cookiecutter("cookiecutter-test",
# # directory=".",
# extra_context={"foo": "quz"},
# output_dir="test_output")
app = typer.Typer()
@@ -19,6 +13,7 @@ def create_project(project_name: str,
):
typer.echo(f"Creating project {project_name}")
cookiecutter(template,
no_input=True,
extra_context={
"use_database": use_database,
"use_cache": use_cache,