Skip to content

feat: add --repeat flag for recurrence rules#105

Open
tjazerzen wants to merge 1 commit intokeith:mainfrom
tjazerzen:feat/recurrence-support
Open

feat: add --repeat flag for recurrence rules#105
tjazerzen wants to merge 1 commit intokeith:mainfrom
tjazerzen:feat/recurrence-support

Conversation

@tjazerzen
Copy link
Copy Markdown

@tjazerzen tjazerzen commented Mar 25, 2026

Summary

  • Adds --repeat flag to add command with support for: daily, weekly, monthly, yearly
  • Displays recurrence info in show/show-all plain text output (e.g. (repeats: daily))
  • Includes recurrence field in JSON output format
  • Adds README documentation for the new flag

Usage

reminders add Soon "Daily standup" --due-date "tomorrow 9am" --repeat daily
reminders add Soon "Weekly review" --due-date "next friday 3pm" --repeat weekly

Implementation

Uses EventKit's EKRecurrenceRule and addRecurrenceRule() — standard public API available since macOS 10.15.

Note: EventKit only supports daily/weekly/monthly/yearly frequencies. Hourly and sub-daily recurrence are not exposed by Apple's public API.

Closes #104

Adds support for setting recurrence rules when creating reminders via
the `add` command. Supported values: daily, weekly, monthly, yearly.

Usage: reminders add Soon "Standup" --due-date "tomorrow 9am" --repeat daily

Also displays recurrence info in `show` and `show-all` output, includes
recurrence in JSON output format, and adds README documentation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tjazerzen tjazerzen force-pushed the feat/recurrence-support branch from 6ebcf13 to d5fde8a Compare March 25, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: support recurrence rules (--repeat hourly/daily/weekly/monthly)

1 participant