diff --git a/TFM.md b/TFM.md index 0e788dc..cce1bc7 100644 --- a/TFM.md +++ b/TFM.md @@ -30,6 +30,7 @@ The Manual * [Private](#private) * [Skip](#skip) * [Exit](#exit) + * [Multitask](#multitask) * [OK](#ok) * [Every](#every) * [Arguments, Variables and Templates Oh My!](#arguments-variables-and-templates-oh-my) @@ -593,6 +594,24 @@ bad.task: exit: 10 ``` +## Multitask +A space separated list of task names that can be run in parallel. + +Example use cases: + - Pulling/Building/Deleting docker images + - Setting up multiple dev projects at once + +A few things to note: + - Avoid changing directories or using the `dir` key as this might impact your other tasks + - The logging will appear different. It will be taskname | taskoutput + - A lot of applications use stdout as a way to filter debuggign information, `alfred` shows this as `taskname:error` even though it might not be an error. + + ``` +run.many.tasks + summary: This task will call a bunch of other tasks at the SAME time + multitask: taska taskb taskc taskd +``` + ## OK A string which is space separated list of tasks to be run if the task was succesful to this point.