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 codelist
list daily calendar events in terminal
This guide implies you have successfully installed and configured golang on your machine.
- 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
- 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
-
Run
go install
-
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}
See the LICENSE file for license rights and limitations (MIT).