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

Function priorityColor

internal/app/list.go:103–111  ·  view source on GitHub ↗
(pri string)

Source from the content-addressed store, hash-verified

101}
102
103func priorityColor(pri string) string {
104 switch pri {
105 case "high":
106 return listfmt.Bold
107 case "low":
108 return listfmt.Dim
109 }
110 return ""
111}
112
113// emptyResult prints the conventional "(no X)" line and returns 0. Honors
114// the requested format: JSON emits "[]", TSV emits a header-only stream,

Callers 2

listTasksCmdFunction · 0.85
listProjectsCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected