MCPcopy Create free account
hub / github.com/basecamp/hey-cli / journalWriteCommand

Struct journalWriteCommand

internal/cmd/journal.go:185–188  ·  view source on GitHub ↗

write

Source from the content-addressed store, hash-verified

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",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected