pyinvoke / invoke

Pythonic task management & command execution.
http://pyinvoke.org
BSD 2-Clause "Simplified" License
4.38k stars 367 forks source link

Add pre and post task lists into help output #929

Open tyzhnenko opened 1 year ago

tyzhnenko commented 1 year ago

Example output

❯ inv --help main-task
Usage: inv[oke] [--core-opts] main-task [other tasks here ...]

Docstring:
  none

Options:
  none

Pre-tasks:
  pre-task
  pre-task-2

Post-tasks:
  none

Issue: #860