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

Function writeWorklogEntryText

apps/cli/internal/cli/feed.go:151–158  ·  view source on GitHub ↗
(entry feed.FeedEntry, r *lipgloss.Renderer)

Source from the content-addressed store, hash-verified

149}
150
151func writeWorklogEntryText(entry feed.FeedEntry, r *lipgloss.Renderer) {
152 date := formatDim(entry.Timestamp.Format("2006-01-02 15:04"), r)
153 taskRef := ""
154 if entry.TaskID != "" {
155 taskRef = fmt.Sprintf(" (%s)", formatTaskID(entry.TaskID, r))
156 }
157 fmt.Printf("%s [Worklog]%s %s\n", date, taskRef, entry.Message)
158}
159
160func writeFileChangeText(f feed.FileChange, r *lipgloss.Renderer) {
161 statusTag := fileStatusTag(f)

Callers 1

writeFeedTextFunction · 0.85

Calls 2

formatDimFunction · 0.85
formatTaskIDFunction · 0.85

Tested by

no test coverage detected