Skip to content

feat: add postpone command to move due dates without changing repeat rules - #11

Merged
udondan merged 1 commit into
mainfrom
worktree-postpone-command
Sep 13, 2026
Merged

udondan merged 1 commit into
mainfrom
worktree-postpone-command

Conversation

@udondan

@udondan udondan commented Sep 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds reminders postpone <list> <index-or-id> <date> to set a new due date on a reminder while leaving any existing repeat rule completely unchanged.
  • Adds a --next-weekday shortcut (reminders postpone <list> <index-or-id> --next-weekday) that shifts the due date forward to the next weekday (Mon-Fri), preserving time of day, anchored on the reminder's current due date.
  • Inspired by the unmerged upstream idea in Add punt keith/reminders-cli#38; reimplemented against the current codebase's API shapes and conventions.

Test plan

  • swift build -Xswiftc -warnings-as-errors
  • swift test -Xswiftc -warnings-as-errors (96/96 passing, incl. 7 new tests in PostponeTests.swift)
  • Manual: reminders postpone <list> <index> "next monday 9am" and confirm due date changes, repeat rule untouched
  • Manual: reminders postpone <list> <index> --next-weekday and confirm correct weekday shift

…rules

Adds `reminders postpone <list> <index-or-id> <date>` to set a new due
date while leaving any existing recurrence rule untouched, plus a
`--next-weekday` shortcut that shifts the due date forward to the next
weekday, preserving time of day.

Inspired by keith/reminders-cli#38.

Co-authored-by: Keith Smiley <[email protected]>
@udondan
udondan merged commit 82ec3bc into main Sep 13, 2026
2 checks passed
@udondan
udondan deleted the worktree-postpone-command branch September 13, 2026 16:00
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.

2 participants