Skip to content

magnum/gcalcli-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcalcli ruby wrapper

use gcalcli w/ ruby

author: Antonio Molinari
https://github.com/magnum
antoniomolinari@me.com

installation

git clone and execute

  brew install galcli
  bundle i

copy .env.sample to .env and set your default calendar CALENDAR_DEFAULT=you_calendar_name

optional, create a symlink in your /usr/local/bin/ path

  FILENAME=gcalcli.rb; ln -s $(pwd)/$FILENAME /usr/local/bin/$FILENAME ; chmod +x /usr/local/bin/$FILENAME

usage:

list calendars

gcalcli.rb list

daly summary

gcalcli.rb daily-summary

search

search default calendar for string in events from now until the end of the year

gcalcli.rb search string

get default calendar all events from now until 2024-03-16

gcalcli.rb search '*' to=2020-03-16

search personal calendar for string in events from 2024-01-01 to 2024-03-16

gcalcli.rb search string calendar=personal from=2024-01-01 to=2020-03-16

debug interactive mode

add debug option to the command in order to start interactive an ruby console befire printing results

gcalcli.rb search string debug

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages