Test 3
This commit is contained in:
7
main.py
7
main.py
@@ -1,12 +1,6 @@
|
|||||||
import typer
|
import typer
|
||||||
from cookiecutter.main import cookiecutter
|
from cookiecutter.main import cookiecutter
|
||||||
|
|
||||||
# cookiecutter("cookiecutter-test",
|
|
||||||
# # directory=".",
|
|
||||||
# extra_context={"foo": "quz"},
|
|
||||||
# output_dir="test_output")
|
|
||||||
|
|
||||||
|
|
||||||
app = typer.Typer()
|
app = typer.Typer()
|
||||||
|
|
||||||
|
|
||||||
@@ -19,6 +13,7 @@ def create_project(project_name: str,
|
|||||||
):
|
):
|
||||||
typer.echo(f"Creating project {project_name}")
|
typer.echo(f"Creating project {project_name}")
|
||||||
cookiecutter(template,
|
cookiecutter(template,
|
||||||
|
no_input=True,
|
||||||
extra_context={
|
extra_context={
|
||||||
"use_database": use_database,
|
"use_database": use_database,
|
||||||
"use_cache": use_cache,
|
"use_cache": use_cache,
|
||||||
|
|||||||
Reference in New Issue
Block a user