-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
copier.yml
117 lines (98 loc) · 2.34 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# TEMPLATE SETTINGS
_subdirectory: template
_templates_suffix: .jinja
_min_copier_version: "6.2.0"
_answers_file: .fastapi-mvc.yml
_envops:
block_end_string: "%}"
block_start_string: "{%"
comment_end_string: "#}"
comment_start_string: "{#"
keep_trailing_newline: true
variable_end_string: "}}"
variable_start_string: "{{"
# TEMPLATE QUESTIONS
project_name:
type: str
help: >-
What's your project name?
Do not use dots or spaces in the name; just "A-Za-z0-9-_" please.
repo_url:
type: str
help: What is the project repository URL?
container_image_name:
type: str
help: What is the project container image name?
default: "{{ project_name|lower|replace(' ','_') }}"
script_name:
type: str
help: What is the project CLI entrypoint name?
default: "{{ project_name|lower|replace(' ','_') }}"
chart_name:
type: str
help: What is the project Helm chart name?
default: "{{ project_name|lower|replace(' ','-') }}"
author:
type: str
help: Tell me who you are.
default: "John Doe"
email:
type: str
help: Tell me your email.
default: "example@mail.com"
project_description:
type: str
help: What is the project description?
default: "This project was generated with fastapi-mvc."
version:
type: str
help: What is the project initial version?
default: "0.1.0"
redis:
type: bool
help: Do you want to include Redis utilities and Kubernetes deployment?
default: yes
helm:
type: bool
help: Do you want to include Helm chart for the project?
default: yes
github_actions:
type: bool
help: Do you want to include GitHub actions?
default: yes
nix:
type: bool
help: Do you want to include Nix expression files?
default: yes
aiohttp:
type: bool
help: Do you want to include aiohttp utility?
default: yes
license:
type: str
help: What is your project 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
package_name:
type: str
default: "{{ project_name|lower|replace(' ','_')|replace('-','_') }}"
when: false
fastapi_mvc_version:
type: str
default: "Generated manually"
when: false