File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
# commitizen cz template
2
2
3
- cz template for [ commitizen] ( https://github.com/Woile/commitizen )
3
+ cz template for [ commitizen] ( https://github.com/Woile/commitizen ) v3
4
4
5
5
## Prerequiste
6
6
* Python 3.x
@@ -12,7 +12,7 @@ cz template for [commitizen](https://github.com/Woile/commitizen)
12
12
1 . Initialize project through cookiecutter
13
13
14
14
``` sh
15
- cookiecutter gh:Lee-W /commitizen_cz_template
15
+ cookiecutter gh:commitizen-tools /commitizen_cz_template
16
16
```
17
17
18
18
Note that you don' t need to add cz prefix in your project name and package name.
@@ -22,7 +22,9 @@ cz template for [commitizen](https://github.com/Woile/commitizen)
22
22
4. Test through `cz --name cz_[cz_name] [command]`
23
23
24
24
## Lisence
25
+
25
26
[MIT](https://opensource.org/licenses/MIT)
26
27
27
28
## Author
29
+
28
30
[Lee-W](https://github.com/Lee-W/) ([email protected] )
Original file line number Diff line number Diff line change @@ -17,3 +17,5 @@ version = "0.1.0"
17
17
requires = [" poetry>=0.12" ]
18
18
build-backend = " poetry.masonry.api"
19
19
20
+ [tool .poetry .plugins ."commitizen .plugin" ]
21
+ cz_{{cookiecutter.cz_name}} = "{{cookiecutter.cz_name}}.cz_{{cookiecutter.cz_name}}:{{cookiecutter.cz_name | capitalize}}Cz"
Original file line number Diff line number Diff line change 3
3
## Usage
4
4
5
5
## Author
6
+
6
7
{{cookiecutter.author_name}} ({{cookiecutter.email}})
Original file line number Diff line number Diff line change @@ -7,6 +7,3 @@ def questions(self) -> list:
7
7
8
8
def message (self , answers : dict ) -> str :
9
9
raise NotImplementedError ("Not Implemented yet" )
10
-
11
-
12
- discover_this = {{cookiecutter .cz_name | capitalize }}Cz
You can’t perform that action at this time.
0 commit comments