MCPcopy Create free account
hub / github.com/compozy/agh / taskInspectEventRows

Function taskInspectEventRows

internal/cli/task.go:3951–3964  ·  view source on GitHub ↗
(items []contract.TaskInspectEventPayload)

Source from the content-addressed store, hash-verified

3949}
3950
3951func taskInspectEventRows(items []contract.TaskInspectEventPayload) [][]string {
3952 rows := make([][]string, 0, len(items))
3953 for _, item := range items {
3954 rows = append(rows, []string{
3955 stringOrDash(item.ID),
3956 stringOrDash(item.Type),
3957 stringOrDash(item.RunID),
3958 stringOrDash(item.Outcome),
3959 stringOrDash(item.Summary),
3960 stringOrDash(formatTime(item.Timestamp)),
3961 })
3962 }
3963 return rows
3964}
3965
3966func taskInspectEventToonRows(items []contract.TaskInspectEventPayload) [][]string {
3967 rows := make([][]string, 0, len(items))

Callers 1

renderTaskInspectHumanFunction · 0.85

Calls 3

appendFunction · 0.85
stringOrDashFunction · 0.85
formatTimeFunction · 0.85

Tested by

no test coverage detected