Documentation
¶
Overview ¶
Package check_reminders implements the ctx system check-reminders subcommand.
It surfaces pending reminders at session start so the agent can act on deferred tasks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmd ¶
Cmd returns the "ctx system check-reminders" subcommand.
Returns:
- *cobra.Command: Configured check-reminders subcommand
func Run ¶
Run executes the check-reminders hook logic.
Reads hook input from stdin, loads pending reminders, filters to those that are due today or earlier, then emits a relay box with the reminder list if any are due. Non-fatal on all errors.
Parameters:
- cmd: Cobra command for output
- stdin: standard input for hook JSON
Returns:
- error: Always nil (hook errors are non-fatal)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.