_subdirectory: template _templates_suffix: .jinja _answers_file: .copier-answers.infra.yml _envops: keep_trailing_newline: true parts: type: str multiselect: true help: Parts that live in their own directory with a docker-compose.yml and a Makefile choices: backend: backend frontend: frontend default: [] init_git: type: bool help: git init and install pre-commit hooks default: true _tasks: - "{% if _copier_operation == 'copy' and init_git %}git init -q{% else %}true{% endif %}" - "{% if _copier_operation == 'copy' and init_git %}sh -c 'command -v pre-commit >/dev/null && pre-commit install || true'{% else %}true{% endif %}"