Skip to content

Commit

Permalink
docs(usage): update help infomation and upgrade component-base
Browse files Browse the repository at this point in the history
  • Loading branch information
shipengqi committed Mar 27, 2024
1 parent 383c3b2 commit 49a1bd7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 18 deletions.
40 changes: 25 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,36 @@ Command line utility to standardize git commit messages.
Usage:
commitizen
commitizen [command]
Available Commands:
init Install this tool to git-core as git-cz.
version Print the CLI version information.
version Print the CLI version information.
help Help about any command
Flags:
-q, --quiet suppress summary after successful commit
-v, --verbose show diff in commit message template
--author string override author for commit
--date string override date for commit
-a, --all commit all changed files.
-s, --signoff add a Signed-off-by trailer.
--amend amend previous commit
--dry-run do not create a commit, but show the message and list of paths
that are to be committed.
-t, --template string template name to use when multiple templates exist.
-d, --default use the default template, '--default' has a higher priority than '--template'.
-h, --help help for commitizen
Git Commit flags:
-a, --all
commit all changed files.
--amend
amend previous commit
--author string
override author for commit
--date string
override date for commit
-q, --quiet
suppress summary after successful commit
-s, --signoff
add a Signed-off-by trailer.
-v, --verbose
show diff in commit message template
Commitizen flags:
-d, --default
use the default template, '--default' has a higher priority than '--template'.
--dry-run
do not create a commit, but show the message and list of paths
that are to be committed.
-t, --template string
template name to use when multiple templates exist.
Use "commitizen [command] --help" for more information about a command.
```
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/charmbracelet/lipgloss v0.10.0
github.com/onsi/ginkgo/v2 v2.17.1
github.com/onsi/gomega v1.32.0
github.com/shipengqi/component-base v0.2.5
github.com/shipengqi/component-base v0.2.6
github.com/shipengqi/golib v0.2.11
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUc
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sahilm/fuzzy v0.1.1-0.20230530133925-c48e322e2a8f h1:MvTmaQdww/z0Q4wrYjDSCcZ78NoftLQyHBSLW/Cx79Y=
github.com/sahilm/fuzzy v0.1.1-0.20230530133925-c48e322e2a8f/go.mod h1:VFvziUEIMCrT6A6tw2RFIXPXXmzXbOsSHF0DOI8ZK9Y=
github.com/shipengqi/component-base v0.2.5 h1:EsTCCVfEVJjUrAwAtCKqStrJV+OEX/qJ417tPYfCSPI=
github.com/shipengqi/component-base v0.2.5/go.mod h1:rM8ivvN3ps15+ZzC/y8/xao3g7rsMZU9vkkIe4Z5nt4=
github.com/shipengqi/component-base v0.2.6 h1:CtVmRWSb0XUhQ6VxvxmDNPJFojqxTVW4ytFXLjeYKfY=
github.com/shipengqi/component-base v0.2.6/go.mod h1:rM8ivvN3ps15+ZzC/y8/xao3g7rsMZU9vkkIe4Z5nt4=
github.com/shipengqi/golib v0.2.11 h1:4cAbAzk5diqIn4s/U/K1ZD1z6lY8oTCWWusxIPGk+pw=
github.com/shipengqi/golib v0.2.11/go.mod h1:zUk04K5KRek/xrHWZn7XRy41OD02/l5wRTaGFoaovn0=
github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
Expand Down

0 comments on commit 49a1bd7

Please sign in to comment.