Test 3
This commit is contained in:
7
main.py
7
main.py
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user