czg 1.3.8 → 1.3.10-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +69 -19
- package/bin/index.js +270 -248
- package/package.json +6 -5
package/README.md
CHANGED
@@ -3,22 +3,33 @@
|
|
3
3
|
> Interactive Commitizen CLI that generate standardized commit messages
|
4
4
|
|
5
5
|
<p align="center">
|
6
|
-
<a href="https://
|
7
|
-
|
6
|
+
<a target="_blank" href="https://cz-git.qbb.sh/cli/">
|
7
|
+
<img style="display:inline-block;margin:0.2em;" alt="CLI-Link" src="https://img.shields.io/badge/Commitizen-CLI-red.svg?logo=git&style=flat">
|
8
8
|
</a>
|
9
|
+
<a target="_blank" href="https://github.com/agarrharr/awesome-cli-apps#git">
|
10
|
+
<img style="display:inline-block;margin:0.2em;" alt="awesome-cli-app" src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg">
|
11
|
+
</a>
|
12
|
+
<br/>
|
9
13
|
<a target="_blank" href="https://github.com/Zhengqbbb/cz-git">
|
10
14
|
<img style="display:inline-block;margin:0.2em;" alt="GitHub Repo stars" src="https://img.shields.io/github/stars/zhengqbbb/cz-git?style=social">
|
11
15
|
</a>
|
16
|
+
<br>
|
17
|
+
<a href="https://www.npmjs.com/package/czg">
|
18
|
+
<img style="display:inline-block;margin:0.2em;" alt="npm" src="https://img.shields.io/npm/v/czg?style=flat-square&logo=npm">
|
19
|
+
</a>
|
20
|
+
<a href="https://formulae.brew.sh/formula/czg">
|
21
|
+
<img style="display:inline-block;margin:0.2em;" alt="homebrew" src="https://img.shields.io/homebrew/v/czg?style=flat-square&logo=homebrew&label=homebrew">
|
22
|
+
</a>
|
12
23
|
</p>
|
13
24
|
|
14
25
|
<p align="center">
|
15
26
|
<a href="https://github.com/Zhengqbbb/cz-git">Github</a>
|
16
27
|
|
|
17
|
-
<a href="https://cz-git.
|
28
|
+
<a href="https://cz-git.qbb.sh/cli/install.html">Installation</a>
|
18
29
|
|
|
19
|
-
<a href="https://cz-git.
|
30
|
+
<a href="https://cz-git.qbb.sh/cli/">Website</a>
|
20
31
|
|
|
21
|
-
<a href="https://cz-git.
|
32
|
+
<a href="https://cz-git.qbb.sh/zh/cli/">简体中文文档</a>
|
22
33
|
</p>
|
23
34
|
|
24
35
|
<br/>
|
@@ -45,7 +56,7 @@ Create a `.czrc` file in the project root directory
|
|
45
56
|
```
|
46
57
|
|
47
58
|
> **Note**
|
48
|
-
> More information about configure file and options. See → [Config](https://cz-git.
|
59
|
+
> More information about configure file and options. See → [Config](https://cz-git.qbb.sh/config/)
|
49
60
|
|
50
61
|
## Features and Help
|
51
62
|
|
@@ -56,7 +67,7 @@ NAME:
|
|
56
67
|
czg - Interactive Commitizen CLI that generate standardized commit messages
|
57
68
|
|
58
69
|
WEBSITE:
|
59
|
-
https://cz-git.
|
70
|
+
https://cz-git.qbb.sh/cli/
|
60
71
|
https://github.com/Zhengqbbb/cz-git
|
61
72
|
|
62
73
|
SYNOPSIS:
|
@@ -69,13 +80,16 @@ SUBCOMMAND:
|
|
69
80
|
|
70
81
|
OPTIONS:
|
71
82
|
--config Specify the configuration file to use
|
72
|
-
--
|
73
|
-
--
|
74
|
-
--
|
83
|
+
:, --alias Directly submit the defined commit message
|
84
|
+
-r, --retry Directly retry submit by the last message
|
85
|
+
-h, --help Show help
|
86
|
+
-v, --version Show version
|
75
87
|
|
76
88
|
EXAMPLES:
|
77
89
|
czg
|
78
90
|
czg emoji
|
91
|
+
czg :ff
|
92
|
+
czg --alias=ff
|
79
93
|
czg --config="./config/cz.json"
|
80
94
|
|
81
95
|
Extends 'git commit' command and options.
|
@@ -84,29 +98,65 @@ See 'git commit --help' for more information.
|
|
84
98
|
|
85
99
|
## Installation
|
86
100
|
|
87
|
-
```
|
101
|
+
```sh
|
88
102
|
npm install -g czg
|
89
103
|
```
|
90
104
|
|
91
|
-
|
105
|
+
> MacOS:
|
106
|
+
|
107
|
+
```sh
|
108
|
+
brew install czg
|
109
|
+
```
|
110
|
+
|
92
111
|
|
93
|
-
|
112
|
+
[⇒ Get Started (more installation and usage)](https://cz-git.qbb.sh/cli/install.html)
|
94
113
|
|
95
|
-
|
114
|
+
## Configure
|
96
115
|
|
97
|
-
|
116
|
+
[⇒ Configure Template](https://cz-git.qbb.sh/config/)
|
98
117
|
|
99
|
-
[⇒ Show Related](https://cz-git.
|
118
|
+
[⇒ Show Related](https://cz-git.qbb.sh/config/show.html)
|
100
119
|
|
101
|
-
[⇒ Engineering Related](https://cz-git.
|
120
|
+
[⇒ Engineering Related](https://cz-git.qbb.sh/config/engineer.html)
|
102
121
|
|
103
122
|
## Recipes
|
104
123
|
|
105
|
-
[⇒ Recipes](https://cz-git.
|
124
|
+
[⇒ Recipes](https://cz-git.qbb.sh/recipes/)
|
106
125
|
|
107
126
|
## FAQ
|
108
127
|
|
109
|
-
[⇒ FAQ](https://cz-git.
|
128
|
+
[⇒ FAQ](https://cz-git.qbb.sh/faq/)
|
129
|
+
|
130
|
+
## Projects using czg CLI
|
131
|
+
|
132
|
+
<table>
|
133
|
+
<tr>
|
134
|
+
<td align="center" width="200px">
|
135
|
+
<a target="_blank" href="https://github.com/element-plus/element-plus">
|
136
|
+
<img src="https://user-images.githubusercontent.com/40693636/172459748-939e3f1b-a694-4c09-b643-e1dce602105c.png" alt="Element Plus logo" width="40"><br>
|
137
|
+
<sub>Element Plus</sub>
|
138
|
+
</a>
|
139
|
+
</td>
|
140
|
+
<td align="center" width="200px">
|
141
|
+
<a target="_blank" href="https://github.com/Tencent/tdesign-vue-next">
|
142
|
+
<img src="https://user-images.githubusercontent.com/40693636/170830562-38e4c998-9af4-4303-9270-4f14e0942b08.png" alt="TDesign-Vue-Next logo" width="40"><br>
|
143
|
+
<sub>TDesign-Vue-Next</sub>
|
144
|
+
</a>
|
145
|
+
</td>
|
146
|
+
<td align="center" width="200px">
|
147
|
+
<a target="_blank" href="https://github.com/vbenjs/vue-vben-admin">
|
148
|
+
<img src="https://user-images.githubusercontent.com/40693636/178189964-931a1fc2-92df-4d04-8d0d-b748fc318c0a.png" alt="Vben-Admin logo" width="40"><br>
|
149
|
+
<sub>Vben-Admin</sub>
|
150
|
+
</a>
|
151
|
+
</td>
|
152
|
+
<td align="center" width="200px">
|
153
|
+
<a target="_blank" href="https://github.com/buqiyuan/vue3-antd-admin">
|
154
|
+
<img src="https://user-images.githubusercontent.com/40693636/170830597-31d6f0d7-2c93-491b-a984-7bf21db8f75b.png" alt="Vue3-Antd-Admin logo" width="40"><br>
|
155
|
+
<sub>Vue3-Antd-Admin</sub>
|
156
|
+
</a>
|
157
|
+
</td>
|
158
|
+
</tr>
|
159
|
+
</table>
|
110
160
|
|
111
161
|
## LICENSE
|
112
162
|
|