czg 1.4.2-beta.9 → 1.5.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 +13 -12
- package/bin/index.js +9 -9
- package/package.json +2 -2
package/README.md
CHANGED
@@ -75,26 +75,27 @@ SYNOPSIS:
|
|
75
75
|
czg [subcommand...] [options...] [git-commit-options...]
|
76
76
|
|
77
77
|
SUBCOMMAND:
|
78
|
-
ai
|
79
|
-
break
|
80
|
-
emoji
|
81
|
-
checkbox
|
82
|
-
gpg
|
78
|
+
ai Turn on OpenAI generate subject mode
|
79
|
+
break Turn on appends a ! after the type/scope
|
80
|
+
emoji Turn on output message with emoji mode
|
81
|
+
checkbox Turn on scope checkbox mode
|
82
|
+
gpg Turn on use GPG sign commit message
|
83
83
|
|
84
84
|
OPTIONS:
|
85
|
-
--config
|
86
|
-
-
|
87
|
-
|
88
|
-
|
89
|
-
-
|
90
|
-
-
|
85
|
+
--config= Specify the configuration file to use
|
86
|
+
--openai-token= Setup OpenAI API secret key to local (.config/.czrc)
|
87
|
+
-N=,--ai-num= Setting AI return number subjects and Turn on choose mode
|
88
|
+
:, --alias Directly submit the defined commit message
|
89
|
+
-r, --retry Directly retry submit by the last message
|
90
|
+
-h, --help Show help
|
91
|
+
-v, --version Show version
|
91
92
|
|
92
93
|
EXAMPLES:
|
93
94
|
czg
|
94
95
|
czg emoji
|
95
96
|
czg :fd
|
96
|
-
czg --alias=fd
|
97
97
|
czg --config="./config/cz.json"
|
98
|
+
czg --openai-token="sk-XXXXX"
|
98
99
|
czg ai -N=3
|
99
100
|
|
100
101
|
Extends 'git commit' options.
|