tldr/pages/common/gcalcli.md

34 lines
848 B
Markdown
Raw Permalink Normal View History

2019-08-23 16:41:47 +01:00
# gcalcli
> Command-line tool to interact with Google Calendar.
2019-08-23 16:41:47 +01:00
> Requests Google API authorization upon first launch.
> More information: <https://github.com/insanum/gcalcli>.
- List your events for all your calendars over the next 7 days:
`gcalcli agenda`
- Show events starting from or between specific dates (also takes relative dates e.g. "tomorrow"):
`gcalcli agenda {{mm/dd}} [{{mm/dd}}]`
- List events from a specific calendar:
`gcalcli --calendar {{calendar_name}} agenda`
- Display an ASCII calendar of events by week:
`gcalcli calw`
- Display an ASCII calendar of events for a month:
`gcalcli calm`
- Quick-add an event to your calendar:
`gcalcli --calendar {{calendar_name}} quick "{{mm/dd}} {{HH:MM}} {{event_name}}"`
- Add an event to calendar. Triggers interactive prompt:
`gcalcli --calendar "{{calendar_name}}" add`