insanum / gcalcli

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

Editing based on unique identifiers? #676

Open m-chaturvedi opened 4 months ago

m-chaturvedi commented 4 months ago

Say I have a bunch of events with the same title, say 'Cancel Prime', and I issue:

gcalcli edit "Cancel Prime"

This would lead to gcalcli going one by one through the list of all events matching that text. I was wondering if while doing the search with gcalcli agenda, the events can be identified with 7 chars of some hash (like git), it would make it very easy for people to edit an event, since it will be uniquely identified. For now, we can prune the search only with start and end.

Anyway, thanks for all the work!