We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12975a5 commit b010678Copy full SHA for b010678
commitizen/cli.py
@@ -116,8 +116,25 @@
116
},
117
{
118
"name": ["version"],
119
- "help": "get the version of the installed commitizen",
+ "help": (
120
+ "get the version of the installed commitizen or the current project"
121
+ " (default: installed commitizen)"
122
+ ),
123
"func": commands.Version,
124
+ "arguments": [
125
+ {
126
+ "name": ["-p", "--project"],
127
+ "help": "get the version of the current project",
128
+ "action": "store_true",
129
+ "exclusive_group": "group1",
130
+ },
131
132
+ "name": ["-c", "--commitizen"],
133
+ "help": "get the version of the installed commitizen",
134
135
136
137
+ ],
138
139
140
"name": ["check"],
0 commit comments