-
Notifications
You must be signed in to change notification settings - Fork 0
/
copier.yml
66 lines (53 loc) · 1.68 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
---
_min_copier_version: 9.0.0
# ====== TEMPLATE ======
_answers_file: .copier-answers.yml
_subdirectory: package_template
_tasks:
- git init
- python _copier_post_generation.py
_message_after_copy: |
The 'mdformat_{{ plugin_name }}' package has been initialized!
1. Review the changes and commit
1. Merge conflicts may either be '*.rej' files or as inline git diffs
2. See CONTRIBUTING.md (TLDR: run `tox`)
3. If this is a new project, you could create the GitHub repo with:
```sh
gh repo create "{{ package_name_kebab }}" --source=. --remote=origin --push --homepage="{{ repository_url }}"
```
# ====== QUESTIONS ======
plugin_name:
type: str
help: Your plugin name using underscores (no spaces or dashes)
package_name_kebab:
type: str
help: Your plugin_name converted to kebab-case for URLs
default: "mdformat-{{ plugin_name | replace('_', '-') }}"
author_name:
type: str
help: Your full name
default: Kyle King
author_email:
type: str
help: Your account email
default: [email protected]
repository_provider:
type: str
help: Your repository provider
default: https://github.com
author_username:
type: str
help: Your username for {{ repository_provider }}
default: kyleking
repository_namespace:
type: str
help: Your repository namespace (i.e. {{ repository_provider }}/<namespace>/{{ package_name_kebab }})
default: "{{ author_username }}"
repository_url:
type: str
help: This is an internal variable where the default should be accepted.
default: "{{ repository_provider }}/{{ repository_namespace }}/{{ package_name_kebab }}"
copyright_date:
type: str
help: The copyright year
default: "{{ '%Y' | strftime }}"