taskListRow is the row shape that feeds table, JSON, and TSV rendering for `flow list tasks`. Field order matters for JSON output stability.
| 458 | // taskListRow is the row shape that feeds table, JSON, and TSV rendering |
| 459 | // for `flow list tasks`. Field order matters for JSON output stability. |
| 460 | type taskListRow struct { |
| 461 | Slug string `json:"slug"` |
| 462 | Name string `json:"name"` |
| 463 | Status string `json:"status"` |
| 464 | Priority string `json:"priority"` |
| 465 | Project string `json:"project,omitempty"` |
| 466 | AgeDays int `json:"age_days,omitempty"` |
| 467 | Due string `json:"due,omitempty"` |
| 468 | DueInDays *int `json:"due_in_days,omitempty"` |
| 469 | DueLabel string `json:"due_label,omitempty"` |
| 470 | Stale bool `json:"stale,omitempty"` |
| 471 | StaleDays int `json:"stale_days,omitempty"` |
| 472 | WaitingOn string `json:"waiting_on,omitempty"` |
| 473 | Assignee string `json:"assignee,omitempty"` |
| 474 | Live bool `json:"live,omitempty"` |
| 475 | AutoRun string `json:"auto_run,omitempty"` |
| 476 | AutoRunPID int `json:"auto_run_pid,omitempty"` |
| 477 | Archived bool `json:"archived,omitempty"` |
| 478 | Updated string `json:"updated,omitempty"` |
| 479 | Tags []string `json:"tags,omitempty"` |
| 480 | } |
| 481 | |
| 482 | // autoCell builds the AUTO column in table output: the run status, with |
| 483 | // the supervisor pid appended for a running run (so the user can see / |
nothing calls this directly
no outgoing calls
no test coverage detected