Skip to content

Commit b94bc6b

Browse files
committed
fix(cli): enforce subcommand as required
without enforcing subcommand, exception would be raised when running `cz -n test` or `cz --debug`
1 parent 309ee60 commit b94bc6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

commitizen/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
],
2424
"subcommands": {
2525
"title": "commands",
26+
"required": True,
2627
"commands": [
2728
{
2829
"name": "ls",

0 commit comments

Comments
 (0)