File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -289,6 +289,20 @@ command.help:
289
289
- name: images
290
290
help: Manage images
291
291
292
+ command.help_header_override :
293
+ help : Provide an alternative bash code (or function call) that will be executed at the beginning of the help message.
294
+
295
+ url : https://bashly.dev/configuration/command/#help_header_override
296
+ example : |-
297
+ name: font-explorer
298
+ help: Font manager utility
299
+
300
+ help_header_override: |
301
+ echo '┏┓ ┏┓ ┓ '
302
+ echo '┣ ┏┓┏┓╋ ┣ ┓┏┏┓┃┏┓┏┓┏┓┏┓'
303
+ echo '┻ ┗┛┛┗┗ ┗┛┛┗┣┛┗┗┛┛ ┗ ┛ '
304
+ echo ' ┛ v1.0'
305
+
292
306
command.name :
293
307
help : Specify the name of the command. This option is required.
294
308
url : https://bashly.dev/configuration/command/#name
Original file line number Diff line number Diff line change @@ -443,6 +443,22 @@ command.help
443
443
444
444
See https://bashly.dev/configuration/command/#help
445
445
446
+ command.help_header_override
447
+
448
+ Provide an alternative bash code (or function call) that will be executed at
449
+ the beginning of the help message.
450
+
451
+ name: font-explorer
452
+ help: Font manager utility
453
+
454
+ help_header_override: |
455
+ echo '┏┓ ┏┓ ┓ '
456
+ echo '┣ ┏┓┏┓╋ ┣ ┓┏┏┓┃┏┓┏┓┏┓┏┓'
457
+ echo '┻ ┗┛┛┗┗ ┗┛┛┗┣┛┗┗┛┛ ┗ ┛ '
458
+ echo ' ┛ v1.0'
459
+
460
+ See https://bashly.dev/configuration/command/#help_header_override
461
+
446
462
command.name
447
463
448
464
Specify the name of the command. This option is required.
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ command.footer
25
25
command.function
26
26
command.group
27
27
command.help
28
+ command.help_header_override
28
29
command.name
29
30
command.private
30
31
command.variables
You can’t perform that action at this time.
0 commit comments