Automate the help output
I've just discovered that with compgen -A function
(source) we can list the functions defined in the current bash shell. To this end, we can use this to reflect on the tasks defined - and potentially generate the help text automagically.