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

Function taskInspectDiagnosticRows

internal/cli/task.go:3898–3909  ·  view source on GitHub ↗
(items []contract.DiagnosticItem)

Source from the content-addressed store, hash-verified

3896}
3897
3898func taskInspectDiagnosticRows(items []contract.DiagnosticItem) [][]string {
3899 rows := make([][]string, 0, len(items))
3900 for _, item := range items {
3901 rows = append(rows, []string{
3902 stringOrDash(item.Code),
3903 stringOrDash(item.Severity),
3904 stringOrDash(item.Message),
3905 stringOrDash(item.SuggestedCommand),
3906 })
3907 }
3908 return rows
3909}
3910
3911func taskInspectDiagnosticToonRows(items []contract.DiagnosticItem) [][]string {
3912 rows := make([][]string, 0, len(items))

Callers 1

renderTaskInspectHumanFunction · 0.85

Calls 2

appendFunction · 0.85
stringOrDashFunction · 0.85

Tested by

no test coverage detected