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

Function formatTaskTitle

apps/cli/internal/cli/colors.go:116–119  ·  view source on GitHub ↗

formatTaskTitle formats task titles with status-based coloring.

(title, status string, r *lipgloss.Renderer)

Source from the content-addressed store, hash-verified

114
115// formatTaskTitle formats task titles with status-based coloring.
116func formatTaskTitle(title, status string, r *lipgloss.Renderer) string {
117 style := getStatusColor(status, r)
118 return style.Render(title)
119}
120
121// formatHeading colors a heading based on the group-by field and key value.
122func formatHeading(key, groupBy string, r *lipgloss.Renderer) string {

Callers 3

outputBoardMarkdownFunction · 0.85
outputBoardTextFunction · 0.85
runGraphFunction · 0.85

Calls 1

getStatusColorFunction · 0.85

Tested by

no test coverage detected