[go: up one dir, main page]

Skip to content

makarski/gcaler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcaler

The name is a concatenation of google calendar scheduler.
Currently supported are two subcommands

  • plan create events from a predefined template, i.e. calendar as code
  • list list daily calendar events in terminal

Set up

This guide implies you have successfully installed and configured golang on your machine.

  1. Create an app in google developer console
    • follow Step 1 from the guide
    • copy client_secret.json to the project root

After the first run the google access token will cached in $HOME/.gcaler/access_token.json

  1. Configure your app
# 1: create a config
cp templates/default.toml.dist templates/your_name.toml

# 2: modify "your_name.toml" contents with your data
  1. Run go install

  2. Run gcaler to start using the cli tool

$ gcaler -help

# provide custom templates location; defauls are in the bin working dir
$ gcaler -templates /path/to/templates -credentials /path/to/google/credentials.json {cmd}

License

See the LICENSE file for license rights and limitations (MIT).

Releases

No releases published

Packages

No packages published

Languages