calendar: add --alarm flag to send command for custom reminder triggers
Previously the send command hardcoded a 1-day VALARM. Now accepts --alarm with duration format (e.g. 1h, 30m, 2d), defaulting to 1d.
This commit is contained in:
@@ -63,7 +63,8 @@ $SKILL_DIR/scripts/calendar.sh send \
|
||||
--summary "Lunch at Tartine" \
|
||||
--start "2026-03-20T12:00:00" \
|
||||
--end "2026-03-20T13:00:00" \
|
||||
--location "Tartine Bakery, SF"
|
||||
--location "Tartine Bakery, SF" \
|
||||
--alarm 1h
|
||||
```
|
||||
|
||||
### Send Options
|
||||
@@ -82,6 +83,7 @@ $SKILL_DIR/scripts/calendar.sh send \
|
||||
| `--organizer` | No | Organizer display name (defaults to `--from`) |
|
||||
| `--rrule` | No | Recurrence rule (e.g. `FREQ=WEEKLY;COUNT=13;BYDAY=TU`) |
|
||||
| `--uid` | No | Custom event UID (auto-generated if omitted) |
|
||||
| `--alarm` | No | Reminder trigger: `1d`, `2h`, `30m` (default: `1d`) |
|
||||
| `--account` | No | Himalaya account name (if not default) |
|
||||
| `--dry-run` | No | Print ICS + MIME without sending |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user