remind

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package remind provides terminal output functions for the remind command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReminderAdded

func ReminderAdded(cmd *cobra.Command, id int, message string, after *string)

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

func ReminderDismissed(cmd *cobra.Command, id int, message string)

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

func ReminderDismissedAll(cmd *cobra.Command, count int)

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

func ReminderItem(cmd *cobra.Command, id int, message string, after *string, today string)

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

func ReminderNone(cmd *cobra.Command)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL