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

Function formatTaskID

apps/cli/internal/cli/colors.go:110–113  ·  view source on GitHub ↗

formatTaskID formats task IDs with a distinct color.

(id string, r *lipgloss.Renderer)

Source from the content-addressed store, hash-verified

108
109// formatTaskID formats task IDs with a distinct color.
110func formatTaskID(id string, r *lipgloss.Renderer) string {
111 style := r.NewStyle().Foreground(lipgloss.Color("6")).Bold(true) // Cyan, bold
112 return style.Render(id)
113}
114
115// formatTaskTitle formats task titles with status-based coloring.
116func formatTaskTitle(title, status string, r *lipgloss.Renderer) string {

Callers 15

projectRecRowFunction · 0.85
colorizeNextColumnFunction · 0.85
printSetConfirmationFunction · 0.85
printArchivePreviewFunction · 0.85
writeMarkdownGroupsFunction · 0.85
formatWaitingOnColoredFunction · 0.85
outputStatusTextFunction · 0.85
writeChildrenTreeFunction · 0.85
writeWorklogEntryTextFunction · 0.85
writeFileChangeTextFunction · 0.85

Calls

no outgoing calls

Tested by 2