Open mariabrbz opened 2 years ago
Hi, I was having your same problem and I just found a possible solution:
gcalcli agenda --details=all
This way you get both the event duration and the ending time.
If you need just the end time, you can do:
gcalcli agenda --details=end
Hope it helps
@pietro14 Looks like --details
is gone. Is there a replacement?
Hi,
I was wondering if there is any way to get the event duration when using the agenda? Additionally, I would like to further manipulate the output from the agenda. For example, I would like to retrieve the event name and time it starts at and use it in my Python code. I get it from the terminal using
subprocess.check_output
but the output has a lot of the table variables and it's not very easy to clean up to get the event details only. Is there any easy way to do this?Thanks!