PrintTaskWithJSON make a TaskPrinter, which prints tasks as json to the console directly.
(c glue.ConsoleOperations)
| 71 | // PrintTaskWithJSON make a TaskPrinter, |
| 72 | // which prints tasks as json to the console directly. |
| 73 | func PrintTaskWithJSON(c glue.ConsoleOperations) TaskPrinter { |
| 74 | return &printByJSON{ |
| 75 | console: c, |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | type teeTaskPrinter struct { |
| 80 | output *[]TaskStatus |
no outgoing calls
no test coverage detected