Documentation
¶
Overview ¶
Package add implements the ctx remind add subcommand.
It creates a new reminder with optional deferred scheduling via the --after flag.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmd ¶
Cmd returns the remind add subcommand.
Returns:
- *cobra.Command: Configured add subcommand
func Run ¶
Run creates a new reminder and prints confirmation.
Exported for reuse by the parent command's default action.
Parameters:
- cmd: Cobra command for output
- message: Reminder text
- after: Optional date gate in YYYY-MM-DD format (empty string to skip)
Returns:
- error: Non-nil on read/write failure or invalid date
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.