Skip to content

Commit

Permalink
feat: track answers file for copier selections
Browse files Browse the repository at this point in the history
Creates a file containing the responses to the input provided to copier to create the project. This will ease updating files later because the original selections may be repeated without the user needing to input them again.
  • Loading branch information
jwbennet committed Dec 12, 2024
1 parent b7518c4 commit 813e0d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions copier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ devcontainer_image:

# Copier config
_subdirectory: "{{ project_type }}"
_answers_file: ".github/.projectrc"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
{{ _copier_answers|to_nice_yaml -}}

0 comments on commit 813e0d5

Please sign in to comment.