Answers file format

An answer file is a simple yaml file that consists of a dictionnary of question names and answers.

The answers will replace the default values during the prompting. The answers themselves can contain templating.

A common technique is having a template/.answers.yml file that will retain the answers the user gave. This file can later be re-fed to mk-scaffold.

Sample

---
answers:
  author: "jdoe"
  email: "jdoe@example.com"

Sample template/.answers.yml:

---
answers:
  author: "{{ scaffold.author }}"
  email: "{{ scaffold.email | lower }}