-
Notifications
You must be signed in to change notification settings - Fork 3
/
copier.yaml
89 lines (66 loc) · 1.75 KB
/
copier.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
language:
type: str
help: "Programming Language:"
choices:
- Python
- Node.js
- Rust
- Go
project_name:
type: str
help: "Project name:"
validator: >-
{% if not (project_name | regex_search('^[a-z][a-z0-9\_]+$')) %}
project_name must start with a letter, followed by one or more
letters, digits, or underscores, all lowercase.
{% endif %}
project_version:
type: str
help: "Project version:"
default: 1.0.0
project_description:
type: str
help: "Project description:"
python_version:
type: str
help: "Required Python version:"
default: ">=3.11"
when: "{{ language == 'Python' }}"
python_package_manager:
type: str
help: "Package Manager:"
choices:
- Poetry
- PDM
when: "{{ language == 'Python' }}"
project_license:
type: str
help: "License (SPDX name)"
default: MIT
author_name:
type: str
help: "Author Name:"
author_email:
type: str
help: "Author Email"
_subdirectory: template/{{ language }}
# Execute these commands on destination after copy
_tasks:
- devenv shell nixfmt devenv.nix
- git init
- git add .
- git commit -am 'This is the Inception 🎉'
_message_before_copy: |
Welcome to Inception 🎉, the gateway to your next big project!
Your next adventure starts here. Answer a few quick questions,
and I'll create a project tailored just for you!
Let's create something amazing! 🚀✨
_message_after_copy: |
🎉 {{project_name}} Created Successfully! 🎉
Your tailored project is ready and waiting for you. Next steps:
1. Allow direnv to load your project environment
$ direnv allow
2. Let's hack 🧑🏻💻
Good luck, DataChef 🧑🍳
_message_after_update: |
🎉 Project updated to latest Inception version! 🎉