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:
289289 - name: images
290290 help: Manage images
291291
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+
292306command.name :
293307 help : Specify the name of the command. This option is required.
294308 url : https://bashly.dev/configuration/command/#name
Original file line number Diff line number Diff line change @@ -443,6 +443,22 @@ command.help
443443
444444 See https://bashly.dev/configuration/command/#help
445445
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+
446462command.name
447463
448464 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
2525command.function
2626command.group
2727command.help
28+ command.help_header_override
2829command.name
2930command.private
3031command.variables
You can’t perform that action at this time.
0 commit comments