59 lines
998 B
YAML
59 lines
998 B
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 python project based on ajal-template-python
|
|
|
|
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:
|
|
- ""
|
|
- "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: ""
|