Plan rota on google calendar.
Get a credentials.json
file from GCloud and place it in ~/.google-rotation-planner/credentials.json
.
Place your configuration file in config.yaml
:
# duration of a shift in weeks (integer)
shiftDuration: 1
# start date for the rotation (default to time.Now())
startDate: 2021-11-26
# the calendar ID where to configure the rotation
calendarID: <calendar-id>
# the members of the rotation
members:
- name: John Doe
email: [email protected]
- name: Foo Bar
email: [email protected]
- name: Jean Dupond
email: [email protected]
Binaries can be downloaded from here: https://github.com/gjolly/google-rotation-planner/releases/latest
To build it yourself:
go build -o . ./...