Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 78c4529

Browse files
alecgeronaLee-W
authored andcommitted
feat(cli): rewrite cli instructions to be more succinct about what they require
1 parent 6efb23f commit 78c4529

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

‎commitizen/cz/conventional_commits/conventional_commits.py‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ def questions(self) -> List[Dict[str, Any]]:
100100
"type": "input",
101101
"name": "scope",
102102
"message": (
103-
"Scope. Could be anything specifying place of the "
104-
"commit change (users, db, poll):\n"
103+
"What is the scope of this change? (class or file name): (press enter to skip)\n"
105104
),
106105
"filter": parse_scope,
107106
},
@@ -110,16 +109,14 @@ def questions(self) -> List[Dict[str, Any]]:
110109
"name": "subject",
111110
"filter": parse_subject,
112111
"message": (
113-
"Subject. Concise description of the changes. "
114-
"Imperative, lower case and no final dot:\n"
112+
"Write a short and imperative summary of the code changes:\n"
115113
),
116114
},
117115
{
118116
"type": "input",
119117
"name": "body",
120118
"message": (
121-
"Body. Motivation for the change and contrast this "
122-
"with previous behavior:\n"
119+
"Provide additional contextual information about the code changes: (press enter to skip)\n"
123120
),
124121
"filter": multiple_line_breaker,
125122
},
@@ -134,7 +131,7 @@ def questions(self) -> List[Dict[str, Any]]:
134131
"name": "footer",
135132
"message": (
136133
"Footer. Information about Breaking Changes and "
137-
"reference issues that this commit closes:\n"
134+
"reference issues that this commit closes: (press enter to skip)\n"
138135
),
139136
},
140137
]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /