Now, the invoke --list only display names of tasks.
I suggent to display what each tasks do too.
I know the full docstring can be shown invoke --help [task_name].
My suggestion is displaying it's summary (first line of it) when calling invoke --list.
If I wrote the task like this:
@task
def task_a():
""" Task for show 'a'.
This command is to test invoke command line tool.
"""
print('a')
The fixed invoke --list will be like this::
$ invoke --list
Available tasks
task_a: Task for show 'a'.