You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if the help output for a task could include a list of pre & post tasks that this task calls. For example, if I have a serve task, that calls clean & build as pre-tasks, the help output could look something like this:
❯ inv --help serveUsage: inv[oke] [--core-opts] serve [other tasks here ...]Docstring: Serve thing at http://localhost:$DOCS_PORT/ & live reload on changes. Default port: 5500Options: nonePre-tasks: Calls clean, buildPost-tasks: none
Invoke does know this information, and it would be great to make it visible to users so they know what running a task will do - without having to look at the tasks.py code - on manually having to add this text to the docstring.
The text was updated successfully, but these errors were encountered:
Great suggestion. If you or anyone reading this has the bandwidth, opening a PR that references this issue and has appropriate test coverage would be much appreciated.
Our current priorities are working through dropping Python2 support to reduce our test matrix before addressing a backlog of issues.
It would be great if the help output for a task could include a list of pre & post tasks that this task calls. For example, if I have a
serve
task, that callsclean
&build
as pre-tasks, the help output could look something like this:Invoke does know this information, and it would be great to make it visible to users so they know what running a task will do - without having to look at the
tasks.py
code - on manually having to add this text to the docstring.The text was updated successfully, but these errors were encountered: