Command reference
oko calendar remove
Deletes one event from a writable account and from the local mirror.
Invocation#
oko calendar remove --account ID --event EVENT-ID --yesInputs and options#
- --account and --event are required.
- --yes confirms the delete: the provider removes the event for good. OkoKit's OkoCalendar.remove sends it, because calling it is the confirmation.
Output and state effect#
- With --yes, DELETEs the CalDAV resource, calls the Google/Microsoft delete API, or removes the EKEvent; the local mirror drops the record immediately.
Refusals and safe exits#
- A missing --event exits 2 with the usage. Without --yes: oko calendar remove would delete event <event> from account <account> at its provider for good; nothing was deleted. Rerun with --yes to delete it (exit 1).
- A missing event refuses with the same not-found sentence as edit; ICS accounts and the ungrated EventKit consent refuse with their exact sentences.