man(1)

πŸ“¦
version 4.5.1 Β· 2 versions
, in debian trixie, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

okay bestie, gather round: gcalcli β€” the way she lets you interact with a Google Calendar ✨ straight from your terminal like the main character you are.


πŸ¦‹ SYNOPSIS πŸ¦‹

gcalcli [options] command [command args or options]

🌸 DESCRIPTION 🌸

so like, gcalcli is a Python application that lets you get into your Google Calendar(s) from the command line, no browser tab chaos required πŸ’…. It's easy to:

  • get your agenda
  • search for events
  • add new events
  • delete events
  • edit events
  • and even import those annoying ICS/vCal invites from Microsoft Exchange and/or other sources 😭

plus, gcalcli can be used as a reminder service and execute any application you want when an event is coming up πŸ”₯. it's giving personal assistant, no cap.


✨ USAGE ✨

usage: gcalcli [-h] [--version] [--client-id CLIENT_ID]
               [--client-secret CLIENT_SECRET] [--noauth_local_server]
               [--config-folder CONFIG_FOLDER] [--noincluderc]
               [--calendar GLOBAL_CALENDARS]
               [--default-calendar DEFAULT_CALENDARS] [--locale LOCALE]
               [--refresh] [--nocache] [--conky] [--nocolor]
               [--lineart {fancy,unicode,ascii}]
               {init,list,search,edit,delete,agenda,agendaupdate,updates,conflicts,calw,calm,quick,add,import,remind,config,util}
               ...

Google Calendar Command Line Interface πŸ’–

πŸŽ€ configuration πŸŽ€

ngl, gcalcli supports a few other configuration mechanisms in addition to the command-line arguments listed below πŸ‘‡

  • $GCALCLI_CONFIG=~/.config/gcalcli β€” Path to user config directory or file.
Note: this path is also used to determine fallback paths to check for cache/oauth files to be migrated into their proper data dir paths.
Note: Use this sparingly and prefer other configuration mechanisms where available. This flag file mechanism can be brittle (example: https://github.com/insanum/gcalcli/issues/513).

🧚 positional arguments 🧚

  • {init,list,search,edit,delete,agenda,agendaupdate,updates,conflicts,calw,calm,quick,add,import,remind,config,util} β€” Invoking a subcommand with --help prints subcommand usage.

and here's the whole squad, one by one, no skipping bestie:

  • init β€” initialize authentication, etc
  • list β€” list available calendars
  • search β€” search for events within an optional time period
  • edit β€” edit calendar events
  • delete β€” delete events from the calendar
  • agenda β€” get an agenda for a time period
  • agendaupdate β€” update calendar from agenda TSV file
  • updates β€” get updates since a datetime for a time period (defaults to through end of current month)
  • conflicts β€” find event conflicts
  • calw β€” get a week-based agenda in calendar format
  • calm β€” get a month agenda in calendar format
  • quick β€” quick-add an event to a calendar
  • add β€” add a detailed event to the calendar
  • import β€” import an ics/vcal file to a calendar
  • remind β€” execute command if event occurs within <mins> time
  • config β€” utility commands to work with configuration
  • util β€” low-level utility commands for introspection, dumping schemas, etc

πŸ‘‘ options πŸ‘‘

  • -h, --help β€” show this help message and exit
  • --version β€” show program's version number and exit
  • --client-id CLIENT_ID β€” API client_id (default: None)
  • --client-secret CLIENT_SECRET β€” API client_secret (default: None)
  • --noauth_local_server β€” Provide instructions for authenticating from a remote system using port forwarding. Note: Previously this option invoked an "Out-Of-Band" variant of the auth flow, but that deprecated mechanism is no longer supported. (default: True)
  • --config-folder CONFIG_FOLDER β€” Optional directory used to load config files. Deprecated: prefer $GCALCLI_CONFIG. (default: ~/.config/gcalcli)
  • --noincluderc β€” Whether to include ~/.gcalclirc. (default: True)
  • --calendar GLOBAL_CALENDARS β€” Which calendars to use, in the format "CalendarName" or "CalendarName#color". Supported here globally for compatibility purposes, but prefer passing to individual commands after the command name since this global version is brittle. (default: [])
  • --default-calendar DEFAULT_CALENDARS β€” Optional default calendar to use if no --calendar options are given (default: [])
  • --locale LOCALE β€” System locale (default: ``)
  • --refresh β€” Delete and refresh cached data (default: False)
  • --nocache β€” Execute command without using cache (default: True)
  • --conky β€” Use Conky color codes (default: False)
  • --nocolor β€” Enable/Disable all color output (default: True)
  • --lineart {fancy,unicode,ascii} β€” Choose line art style for calendars: "fancy" for VTcodes, "unicode" for Unicode box drawing characters, "ascii" for old-school plusses, hyphens and pipes. (default: fancy)

πŸ™ˆ DIAGNOSTICS πŸ™ˆ

Encoding issues, wrongly printed characters, UnicodeEncodeError when using conky, in pipes or scripts"

  • Set an environment variable PYTHONIOENCODING=utf8
  • Use a Unicode capable font like DejaVu Sans Mono
  • Set option --lineart=unicode or --lineart=ascii

No colors or garbage characters when using inside conky

  • Set option --conky

🌈 SEE ALSO 🌈

iykyk πŸ’œ


πŸ’€ BUG REPORTS πŸ’€

Report issues at https://github.com/insanum/gcalcli/issues β€” please actually do it bestie, they wanna know 😭


🫢 AUTHORS 🫢

  • Eric Davis (edavis@insanum.com)
  • Brian Hartvigsen (brian.andrew@brianandjenny.com)
  • Joshua Crowgey (jcrowgey@uw.edu)

okay and that's the whole page πŸŽ€ this was gcalcli, version 4.5.0, dated 28 September 2024, chillin' in the gcalcli Manual under man(1) β€” slay, periodt, go book something iconic πŸ’…βœ¨

πŸ“¦ where this page comes from