write
| 183 | fmt.Fprintf(w, "Journal — %s\n\n", date) |
| 184 | fmt.Fprintln(w, markdown.Render(htmlutil.ToMarkdown(content), stdoutWidth())) |
| 185 | return nil |
| 186 | } |
| 187 | |
| 188 | return writeOK(map[string]string{"date": date, "content": content}, |
| 189 | output.WithSummary(fmt.Sprintf("Journal entry for %s", date)), |
| 190 | output.WithBreadcrumbs(output.Breadcrumb{ |
| 191 | Action: "write", |
nothing calls this directly
no outgoing calls
no test coverage detected