MCPcopy Create free account
hub / github.com/driangle/taskmd / formatStatus

Function formatStatus

apps/cli/internal/cli/colors.go:140–143  ·  view source on GitHub ↗

formatStatus formats status text with status-based color.

(status string, r *lipgloss.Renderer)

Source from the content-addressed store, hash-verified

138
139// formatStatus formats status text with status-based color.
140func formatStatus(status string, r *lipgloss.Renderer) string {
141 style := getStatusColor(status, r)
142 return style.Render(status)
143}
144
145// formatPriority formats priority text with priority-based color.
146func formatPriority(priority string, r *lipgloss.Renderer) string {

Callers 14

colorizeFieldValueFunction · 0.85
formatWaitingOnColoredFunction · 0.85
outputStatusTextFunction · 0.85
writeChildrenTreeFunction · 0.85
outputSearchTableFunction · 0.85
printContextDepsFunction · 0.85
outputGetTextFunction · 0.85
printChildrenFunction · 0.85

Calls 1

getStatusColorFunction · 0.85

Tested by 2