google-rotation-planner

module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: MIT

README

google-rotation-planner

Plan rota on google calendar.

Usage

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: jdoe@example.com
  - name: Foo Bar
    email: foo.bar@example.com
  - name: Jean Dupond
    email: dupond@example.com

Build

Binaries can be downloaded from here: https://github.com/gjolly/google-rotation-planner/releases/latest

To build it yourself:

go build -o . ./...

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL