Skip to content

Google Calendar

Fetch your Google Calendar events for a given day.

Fetch today’s meetings:

Terminal window
swelog fetch google-calendar

To backfill a previous date, provide MM-DD-YYYY:

Terminal window
swelog fetch google-calendar --date 08-17-2026

--yesterday does the same for the day before:

Terminal window
swelog fetch google-calendar --yesterday

For last Friday, use --last-friday instead of working out the date:

Terminal window
swelog fetch google-calendar --last-friday

The generated section contains your meetings for the day, ordered by start time.

## Google Calendar
- 10:00 AM - 10:15 AM | Standup
- ~~11:00 AM - 11:30 AM | Eng all-hands~~
- 1:00 PM - 2:00 PM | Design review
- 3:00 PM - 4:00 PM | Focus block

Swelog records the following events:

Event Recorded
A timed event you accepted Yes
A timed event you never replied to Yes
A solo hold, such as a focus block Yes
An event you declined Struck through
An event the organizer cancelled Struck through
An all-day event No

Swelog only reads the primary calendar of the account that authorized.

To record a different account’s calendar, authorize as that account instead. See Switching accounts.

Clear the stored authorization and fetch again:

Terminal window
swelog auth clear google-calendar
swelog fetch google-calendar

The next fetch starts a new browser authorization flow, where you can pick a different Google account.