Skip to content

Commit 52d0b82

Browse files
committed
✨ feat(copier.yaml): set the project name by default to the project root directory
1 parent db4647e commit 52d0b82

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

copier.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ _tasks:
1111
project_name:
1212
type: str
1313
help: What is your project name?
14+
default: "{{ _folder_name }}"
1415
validator: >-
1516
{% if not (project_name | regex_search('^[a-z][a-z0-9\-]+$')) %}
1617
Project name must start with a letter, followed by one or more letters,

0 commit comments

Comments
 (0)