Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jonathanpberger opened this issue Jul 12, 2024 · 2 comments

Comments

@jonathanpberger
Copy link

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 jonathanpberger changed the title Hooks into eventTypes (e.g. "Out of Office" or "Focus Time") FEATURE REQUEST: Hooks into eventTypes (e.g. "Out of Office" or "Focus Time") Jul 12, 2024
@WizardBit
Copy link

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

@michaelmhoffman
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants