ajal-template-fastapi/copier.yml
2025-04-29 18:32:48 -04:00

68 lines
1.3 KiB
YAML

_subdirectory: template
_tasks:
- command: "git init"
- command: "git add ."
- command: "git commit -m 'Initial commit'"
- command: "uv venv .venv"
when: "{{ dependency_manager == 'uv' }}"
- command: "poetry env activate"
when: "{{ dependency_manager == 'poetry' }}"
# Questions
project_name:
type: str
help: What is your project name?
project_description:
type: str
help: Describe your project
default: A project based on ajal-template-fastapi
minimum_python_version:
type: str
help: Minimum python version
choices:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
license:
type: str
help: A license for the project
default: MIT
choices:
- "None"
- "MIT"
dependency_manager:
type: str
help: Python dependency manager
choices:
- uv
- poetry
- hatch
- setuptools
- flit
- pdm
default: uv
user_name:
type: str
help: Author name
default: ""
user_email:
type: str
help: Author email
default: ""
container_template:
type: str
help: Choose a container template. Cached - using cache with this template can speed up subsequent builds, Uncached - will always install latest dependencies, using cache with this template will lead to outdated images
default: cached
choices:
- none
- cached
- uncached