Skip to content

Commit 2b068af

Browse files
committed
fix: warn at copier copy
1 parent 04fe775 commit 2b068af

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

copier.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ _subdirectory: template
55
_jinja_extensions:
66
- bec_lib.utils.copier_jinja_filters.CopierFilters
77

8+
_message_before_copy: |
9+
WARNING!
10+
Please remember that this operation will create a git repository. If you didn't specify a target it will run in the current directory. If you don't want to create a new git repository in the specified directory you can press ctrl-c to cancel the operation.
11+
12+
It is recommended to always specify a target directory.
13+
814
# predefined values
915
# make sure these have 'when: false' so that the questions are not asked and the items are not saved in answers.yml
1016

0 commit comments

Comments
 (0)