Skip to content

Commit

Permalink
Added multitask to the documentatio
Browse files Browse the repository at this point in the history
  • Loading branch information
kcmerrill authored May 8, 2017
1 parent 4f5bc76 commit aafbe28
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions TFM.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit aafbe28

Please sign in to comment.