hammerspoon2-docs
    Preparing search index...

    Function calendars

    • The calendars that hold events.

      Each entry is an object with id, title and source (the account, e.g. "iCloud") keys.

      Returns { id: string; source: string | null; title: string }[]

      An array of calendar objects

      Throws an Error on failure; wrap calls in try/catch to handle it.