gcaler

command module
v0.0.0-...-e9ca3b0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: MIT Imports: 9 Imported by: 0

README

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).

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
google

Jump to

Keyboard shortcuts

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