Skip to content

add hooks and human readable prompts support

Hooks

Cookiecutter supports hooks (ref), three scripts that allow the developer to show some messages, validate the user input or perform post-generation operations.

This branch will only introduce the concept of hooks and print messages in the three stages available but this feature can be easily extended to support automatic installation of packages, download of ad-hoc .gitignore files or automatic Gitlab repositories setup. With some work, it should also be possible to implement an automatic sync with the cluster that requires little to no input from the use.

Human Readable Prompts

Cookiecutter supports human readable prompts during the setup process so there is no need to exploit the default values. This commit will change the default value for the variable project_short to {{ cookiecutter.project_name }} is an awsome computational physics project. and add a corresponding human-readable prompt Insert a one-sentence description of the project..

Merge request reports