gcalcli icon indicating copy to clipboard operation
gcalcli copied to clipboard

FEATURE REQUEST: Hooks into `eventTypes` (e.g. "Out of Office" or "Focus Time")

Open jonathanpberger opened this issue 1 year ago • 2 comments

I'd like to CRUD "Focus Time" or "Out of Office" events, which live in the eventTypes object, e.g.

When I gcalcli agenda --type "all" --tsv, Then I would see something along the lines of

2024-07-12	00:00	2024-07-13	default 00:00	Home
2024-07-12	08:30	2024-07-12	default 09:00	Meet with FOO
2024-07-12	08:45	2024-07-12	FocusTime 09:00	Write the BAR report
2024-07-12	09:00	2024-07-12	OutOfOffice 09:30	Work out with BAZ

Alternately,

When I gcalcli agenda --type "FocusTime" --tsv, Then I would see only

2024-07-12	08:45	2024-07-12	FocusTime 09:00	Write the BAR report

jonathanpberger avatar Jul 12 '24 20:07 jonathanpberger

+1 This is exactly what I was looking for. Its unfortunate that this isn't already a feature.

WizardBit avatar Oct 02 '24 00:10 WizardBit

I see two separable features here:

  1. Adding to agenda and search subcommands the ability to search by eventTypes
  2. Adding details handlers in gcalcli.details to expose the eventType data for each event to the user. Setting eventType via the patch action is not allowed, but via insert action is.

michaelmhoffman avatar Nov 11 '24 21:11 michaelmhoffman