Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.03 KB

File metadata and controls

31 lines (21 loc) · 1.03 KB

Collecting tasks

If you want to inspect your project and see a summary of all the tasks, you can use the pytask collect command.

Let us take the following task.

--8<-- "docs_src/tutorials/collecting_tasks.py"

Now, running pytask collect will produce the following output.

--8<-- "docs/source/_static/md/collect.md"

If you want to have more information regarding the dependencies and products of the task, append the pytask collect --nodes flag.

--8<-- "docs/source/_static/md/collect-nodes.md"

To restrict the set of tasks you are looking at, use markers, expressions and ignore patterns as usual.

Further reading