HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

gcalcli — Interact with Google Calendar. Requests Google API authorization upon first launch. More information

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandcalendarrequestsinteractcligooglewithgcalcli

Problem

How to use the gcalcli command: Interact with Google Calendar. Requests Google API authorization upon first launch. More information: <https://github.com/insanum/gcalcli>.

Solution

gcalcli — Interact with Google Calendar. 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

Code Snippets

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

Context

tldr-pages: common/gcalcli

Revisions (0)

No revisions yet.