Command reference
ed calendar
Your schedule, as the Edith app sees it. Calendar access belongs to Edith, so
ed asks Edith for the events and prints them. You do not need to open Edith
first: ed starts it in the background when needed. Reach for it when you want
the next few days on stdout, or as JSON for something else to read. The same
agenda is on the Calendar page in Edith.
If the Calendar extension is off or macOS has not granted calendar access, the command exits 4 and says which.
At a glance
| Command | What it does |
|---|---|
ed calendar |
No subcommand runs ls, so a bare ed calendar is the upcoming events |
ed calendar ls |
Upcoming events from the running app, as a table or as JSON |
ed calendar open |
Opens the Calendar application |
ed calendar join <event> |
Opens the meeting link for an event ID or unambiguous title |
ed calendar directions <event> |
Opens the event location in Maps |
ed calendar availability |
Lists open times for a meeting length without event details, optionally copied |
ed calendar cost <event> --scenario 6x90 |
Estimates the event's cost from your own headcount and hourly rates |
ed calendar list is an alias for ed calendar ls, and ed calendar free is
an alias for ed calendar availability.
Commands
ed calendar lsed calendar opened calendar joined calendar directionsed calendar availabilityed calendar cost
Exit codes
| Code | When |
|---|---|
| 0 | Events were printed, including the case where the window holds none |
| 2 | --days was outside 0 through 120, had no value or was not an integer, an availability option or a cost assumption was invalid, or the command line carried an unknown flag |
| 3 | join, directions or cost could not find one unambiguous event |
| 4 | The Calendar extension is off, macOS has not granted calendar access or did not let Edith read the calendar, or the command timed out |
Notes and gotchas
- The request carries its exact date window to the app.
--daysaccepts 0 through 120, matching the UI's upper bound. A larger value exits 2 before the app is contacted. - The UI starts at 14 days and scrolling to the bottom adds 14 days at a time. The last page adds 8 days and stops at 120. A CLI read does not change the UI's current page.
- Every window starts at midnight today. A positive value ends at midnight that
many days later.
--days 0ends at the moment the command starts, so it includes events from earlier today. join,directionsandcostsearch the full 120-day window. An ID returned byed calendar ls --days 120 --jsoncan therefore be used by either action.- Ordering is fixed: all-day events first, then everything else by start time ascending. The JSON array uses the same order as the table.
- Duplicates are collapsed before they are sent. Two events with the same title, start, end and all-day flag count as one, which is what removes the twin rows when the same invitation lands in two calendars. The surviving row keeps whichever calendar EventKit listed first.
- A meeting link is detected, not stored.
edshows the event's own URL when it points at a known meeting service, and otherwise the first such link found in the location and notes, preferring a video link over a dial-in number. The detector knows the common services (Zoom, Google Meet, Teams, Webex, Whereby, Jitsi, Chime and many more) including their tenant subdomains, the nativezoommtg:,msteams:,webex:,facetime:andtel:links, and unwraps Outlook SafeLinks. Lookalike hosts, links with credentials and unknown hosts are left inlocationandmeetingURLstaysnull. joinfollows the Calendar settings: it starts Presenter Mode first when asked to and opens the link in the app chosen for that meeting service.- Times are transported and printed as two different things.
--jsongives ISO 8601 in UTC; the table renders in the local time zone with localised day and month names, so the two can look like different days near midnight. - Filtering, sorting and deduplication use the same typed operation as the UI. The app reads only the requested window, and the cost is one round trip.
- The extension switch is a setting like any other:
ed config set tabCalendarEnabled trueanded extensions enable calendarwrite the same key. Enabling the extension without the macOS grant leavesed calendar lsexiting 4 on the permission, so request it as well. - Turning the extension on creates the store inside the running app, and a store
with no grant never populates. After granting calendar access,
ed app relaunchis the reliable way to make the app pick the new state up.
Where to go next
ed extensionsto turn the Calendar extension on or offed permissionsto request the macOS calendar granted configfortabCalendarEnabled, the only key in thecalendargrouped appfored app relaunch --yes, which a new grant needs- All command groups