Command reference

oko-cli calendar edit

Changes named fields of one existing event; untouched fields stay as the provider has them.

Invocation

oko-cli calendar edit --account ID --event EVENT-ID [--title T] [--starts ISO] [--ends ISO] [--location L] [--notes N]

Inputs and options

  • --event is the id calendar list shows; at least one field flag is required.

Output and state effect

  • CalDAV performs a read-modify-write of the event's own resource; Google and Microsoft PATCH and the returned resource becomes the mirrored record; EventKit saves the changed event.

Refusals and safe exits

  • With no field flags it refuses: calendar edit changes nothing without at least one of --title, --starts, --ends, --location, --notes.
  • A missing event refuses: no event '…' exists on account '…'; run 'oko-cli calendar sync' and 'oko-cli calendar list' to see current events.
  • ICS accounts and the ungrated EventKit consent refuse with their exact sentences.