-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcopier.yml
65 lines (58 loc) · 1.24 KB
/
copier.yml
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
# TEMPLATE SETTINGS
_subdirectory: template
_templates_suffix: .jinja
_min_copier_version: "6.2.0"
_answers_file: .generator.yml
_envops:
block_end_string: "%}"
block_start_string: "{%"
comment_end_string: "#}"
comment_start_string: "{#"
keep_trailing_newline: true
variable_end_string: "}}"
variable_start_string: "{{"
_exclude:
- "*.py[co]"
- "__pycache__"
- ".git"
- ".DS_Store"
- ".svn"
# TEMPLATE QUESTIONS
generator:
type: str
help: What is your new generator name?
repo_url:
type: str
help: What is the generator repository URL?
nix:
type: bool
help: Do you want to include Nix expression files?
default: yes
github_actions:
type: bool
help: Do you want to include GitHub actions?
default: yes
license:
type: str
help: What is your generator license?
choices:
- "MIT"
- "BSD2"
- "BSD3"
- "ISC"
- "Apache2.0"
- "LGPLv3+"
- "LGPLv3"
- "LGPLv2+"
- "LGPLv2"
- "no"
copyright_date:
type: str
help: What is your project copyright date?
when: "{% if license != 'no' %}true{% else %}false{% endif %}"
default: "2022"
# TEMPLATE NONE-CONFIGURABLE DEFAULTS
generator_name:
type: str
default: "{{ generator|lower|replace(' ','_')|replace('-','_') }}"
when: false