insanum / gcalcli

Google Calendar Command Line Interface
MIT License
3.26k stars 307 forks source link

Adding / Updating Calendar access list? #622

Open jason-mehmel opened 2 years ago

jason-mehmel commented 2 years ago

I've recently been given access to a new calendar as a reader in my Google Calendar account, but I'm not seeing it reflected in my Agenda.

I'm not sure how to update the calendars that gcalcli has access to. Do I need to recreate the API or anything to absorb the new calendar's access?

ComedyTomedy commented 2 years ago

Had the same problem just now. And I did recreate the API, which was silly. But the fix is actually very simple:

rm ~/.gcalcli_cache
jason-mehmel commented 2 years ago

What happened after you ran that command?

After that removes the cache, does it basically just reset itself after when gcalcli runs again? Or did you have to reauthorize everything?

ComedyTomedy commented 2 years ago

No reauth, just runs as normal but fetching a fresh list of calendars etc. :)

jason-mehmel commented 2 years ago

That worked great! Thank you!