Documentation
¶
Overview ¶
Package remind provides terminal output functions for the remind command.
Index ¶
- func ReminderAdded(cmd *cobra.Command, id int, message string, after *string)
- func ReminderDismissed(cmd *cobra.Command, id int, message string)
- func ReminderDismissedAll(cmd *cobra.Command, count int)
- func ReminderItem(cmd *cobra.Command, id int, message string, after *string, today string)
- func ReminderNone(cmd *cobra.Command)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReminderAdded ¶
ReminderAdded prints the confirmation for a newly added reminder.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- id: reminder ID.
- message: reminder text.
- after: optional date gate (nil if none).
func ReminderDismissed ¶
ReminderDismissed prints the confirmation for a dismissed reminder.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- id: reminder ID.
- message: reminder text.
func ReminderDismissedAll ¶
ReminderDismissedAll prints the summary after dismissing all reminders.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- count: number of dismissed reminders.
func ReminderItem ¶
ReminderItem prints a single reminder in the list.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
- id: reminder ID.
- message: reminder text.
- after: optional date gate (nil if none).
- today: current date in YYYY-MM-DD format.
func ReminderNone ¶
ReminderNone prints the message when there are no reminders.
Parameters:
- cmd: Cobra command for output. Nil is a no-op.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.