You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(tasks): add recur aliases and RRULE support for task repeats (#408)
- add --recur and --recur-rrule aliases for repeat materialization
- support RRULE FREQ with optional INTERVAL when generating concrete task occurrences
- document the materialized repeat behavior in README and changelog
Co-authored-by: salmonumbrella <182032677+salmonumbrella@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@
27
27
- Contacts: add `--relation type=person` to contact create/update, include relations in text `contacts get`, and cover relation payload updates. (#351) — thanks @karbassi.
28
28
- Contacts: add `--address` to contact create/update and include addresses in text `contacts get`. (#148) — thanks @beezly.
29
29
- Docs: add `--pageless` to `docs create`, `docs write`, and `docs update` to switch documents into pageless mode after writes. (#300) — thanks @shohei-majima.
30
+
- Tasks: add `--recur` / `--recur-rrule` aliases for repeat materialization, including RRULE `INTERVAL` support for generated occurrences. (#408) — thanks @salmonumbrella.
30
31
- Gmail: add `watch serve --history-types` filtering (`messageAdded|messageDeleted|labelAdded|labelRemoved`) and include `deletedMessageIds` in webhook payloads. (#168) — thanks @salmonumbrella.
31
32
- Drive: add `drive ls --all` (alias `--global`) to list across all accessible files; make `--all` and `--parent` mutually exclusive. (#107) — thanks @struong.
32
33
- Sheets: add `sheets insert` to insert rows/columns into a sheet. (#203) — thanks @andybergon.
returntasksAddRepeatConfig{}, usage("--repeat, --recur, or --recur-rrule is required when using --repeat-count or --repeat-until")
244
+
}
245
+
246
+
ifconfig.Unit!=repeatNone {
247
+
ifdue=="" {
248
+
returntasksAddRepeatConfig{}, usage("--due is required when using --repeat, --recur, or --recur-rrule")
249
+
}
250
+
ifc.RepeatCount<0 {
251
+
returntasksAddRepeatConfig{}, usage("--repeat-count must be >= 0")
252
+
}
253
+
ifconfig.Until==""&&c.RepeatCount==0 {
254
+
ifconfig.Recur!=""||config.RecurRule!="" {
255
+
returntasksAddRepeatConfig{}, usage("Google Tasks API does not support server-side recurring metadata; use --repeat-count or --repeat-until with --recur/--recur-rrule to materialize occurrences")
256
+
}
257
+
returntasksAddRepeatConfig{}, usage("--repeat requires --repeat-count or --repeat-until")
0 commit comments