Skip to content

Improve copier questions and behavior on update #4

@dalito

Description

@dalito

The cookiecutter-related hooks directory can be removed. The scripts contain validation logic and post-setup messages. Both can be replaced by standard options in copier.yaml.

Copier allows to ask questions based on conditions. This can be used to ask less, for example if use_schemasheets is answered with "No" all related questions on details can be skipped.

On update but also when switching a project created with linkml-project-cookiecutter to this template, less files should be changed/overwritten. Limiting changes on update is possible to some extend now but will probably further improve, see copier-org/copier#1733.

Metadata

Metadata

Assignees

Labels

_projectRelated to the generated projectenhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions