insanum / gcalcli

Google Calendar Command Line Interface
MIT License
3.31k stars 311 forks source link

consider add ability to list today's agenda (or between dates) #610

Closed Dentrax closed 2 years ago

Dentrax commented 3 years ago

The following command lists this week's agenda:

$ gcalcli agenda

It would be great if we are able to list between dates or today's and tomorrow's. Like the following:

$ gcalcli agenda --when today
$ gcalcli agenda --when tomorrow
$ gcalcli agenda --when yesterday
$ gcalcli agenda --from DATE --to DATE
$ gcalcli agenda # lists this week by default

What do you think?

zekenie commented 2 years ago

I was just looking for this as well. It turns out you can, you just have to specify dates. For example, this works

$ gcalcli agenda --details={email,location,conference}  --nostarted --nodeclined 2022-07-16 2022-07-20