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

Function newJournalReadCommand

internal/cmd/journal.go:121–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 ),
120 )
121}
122
123// read
124
125type journalReadCommand struct {
126 cmd *cobra.Command
127}
128
129func newJournalReadCommand() *journalReadCommand {
130 journalReadCommand := &journalReadCommand{}
131 journalReadCommand.cmd = &cobra.Command{
132 Use: "read [date]",
133 Short: "Read a journal entry (default: today)",
134 Example: ` hey journal read
135 hey journal read 2026-03-15
136 hey journal read --html
137 hey journal read --json`,
138 RunE: journalReadCommand.run,

Callers 1

newJournalCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected