File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,30 @@ if [ $# -gt 2 ]; then
6161fi
6262
6363if [[ $project_manager -eq 3 ]]; then
64- ./target/release/python-project create -s << EOF
64+ if [ " $fastapi_project " = " 1" ]; then
65+ ./target/release/python-project create -s << EOF
66+ $project_name
67+ $project_slug
68+ $source_dir
69+ $project_description
70+ $creator
71+ $creator_email
72+ $license
73+ $copyright_year
74+ $version
75+ $fastapi_project
76+ $python_version
77+ $min_python_version
78+ $gha_versions
79+ $project_manager
80+ $pyo3_python_manager
81+ $max_line_length
82+ $use_dependabot
83+ $use_continuous_deployment
84+ $use_release_drafter
85+ EOF
86+ else
87+ ./target/release/python-project create -s << EOF
6588$project_name
6689$project_slug
6790$source_dir
@@ -78,11 +101,13 @@ $gha_versions
78101$project_manager
79102$pyo3_python_manager
80103$application
104+ $is_async_project
81105$max_line_length
82106$use_dependabot
83107$use_continuous_deployment
84108$use_release_drafter
85109EOF
110+ fi
86111else
87112 if [ " $fastapi_project " = " 1" ]; then
88113 ./target/release/python-project create -s << EOF
You can’t perform that action at this time.
0 commit comments