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

Function formatPriority

apps/cli/internal/cli/colors.go:146–149  ·  view source on GitHub ↗

formatPriority formats priority text with priority-based color.

(priority string, r *lipgloss.Renderer)

Source from the content-addressed store, hash-verified

144
145// formatPriority formats priority text with priority-based color.
146func formatPriority(priority string, r *lipgloss.Renderer) string {
147 style := getPriorityColor(priority, r)
148 return style.Render(priority)
149}
150
151// formatEffort formats effort text with effort-based color.
152func formatEffort(effort string, r *lipgloss.Renderer) string {

Callers 12

colorizeNextColumnFunction · 0.85
colorizeFieldValueFunction · 0.85
writeMarkdownGroupsFunction · 0.85
printStatusOptionalFieldFunction · 0.85
outputTracksTableFunction · 0.85
outputSearchTableFunction · 0.85
printOptionalFieldFunction · 0.85
colorizeColumnFunction · 0.85

Calls 1

getPriorityColorFunction · 0.85

Tested by 2