MCPcopy Create free account
hub / github.com/Facets-cloud/flow / taskListRow

Struct taskListRow

internal/app/list.go:460–480  ·  view source on GitHub ↗

taskListRow is the row shape that feeds table, JSON, and TSV rendering for `flow list tasks`. Field order matters for JSON output stability.

Source from the content-addressed store, hash-verified

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.
460type 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 /

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected