File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ You can find more details here: [Setup token for cli][setup-token-for-cli].
50
50
* ` -l ` : Generate a changelog entry and save it to ` <changelog> ` .
51
51
* ` -p ` : Push ` <master> ` , ` <develop> ` , and tags to ` <remote> ` .
52
52
* ` -u ` : Update ` <master> ` and ` <develop> ` branches from ` <remote> ` using rebase.
53
+ * ` -n ` : Do not display any prompts.
53
54
54
55
### Argument options
55
56
* ` -c ` : Location of the ` <changelog> ` . Defaults to ` CHANGELOG.md ` .
Original file line number Diff line number Diff line change @@ -206,6 +206,7 @@ FLAG OPTIONS:
206
206
-l Generate a changelog entry and save it to <changelog>.
207
207
-p Push <master>, <develop>, and tags to <remote>.
208
208
-u Update <master> and <develop> branches from <remote> using rebase.
209
+ -n Do not display any prompts
209
210
210
211
ARGUMENT OPTIONS:
211
212
-c Location of the <changelog>. Defaults to 'CHANGELOG.md'.
249
250
arglog=
250
251
argpull=
251
252
argpush=
253
+ argnoprompt=
252
254
argchangelog=
253
255
argmaster=
254
256
argdevelop=
@@ -267,7 +269,7 @@ step=
267
269
bump=
268
270
269
271
# Grab command line arguments and flags
270
- while getopts " hvlupc :r:m:d:P:s:b:" OPTION
272
+ while getopts " hvlupnc :r:m:d:P:s:b:" OPTION
271
273
do
272
274
case $OPTION in
273
275
h)
287
289
p)
288
290
argpush=1
289
291
;;
292
+ n)
293
+ argnoprompt=1
294
+ ;;
290
295
c)
291
296
argchangelog=$OPTARG
292
297
;;
@@ -339,6 +344,7 @@ bump : $bump | $($conventionalRecommendedBump -p $($conventionalCommitsDete
339
344
preset : $preset | $( $conventionalCommitsDetector )
340
345
counter : $counter
341
346
step : $step
347
+ noprompts : $argnoprompt
342
348
EOF
343
349
$chalk cyan " ============================"
344
350
You can’t perform that action at this time.
0 commit comments