simple Google Calendar billing/tracking project in Golang
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.goreleaser.yml
.travis.yml
Gopkg.lock
Gopkg.toml
LICENSE.txt
README.md
calendar.go
geoip.go
ics.go
main.go
oauth.go

README.md

IM-billing-v2

GitHub license GitHub release Build Status codebeat badge Go Report Card

About

IM-billing-v2 is a simple Google calendar based tracking/billing system. When you have a set of tasks performed in your Google calendar with each of the entries belonging to a specific "sub"-calendar, you can easily print out those for a specific (and any) time frame, sum them and make a simple billing calculation.

REQUIREMENTS

API

Installation

There are two ways of installing IM-billing-v2:

Manual

Download your preferred flavor from the releases page and install manually.

Using go get

go get https://github.com/dkorunic/IM-billing-v2

Usage

Usage: IM-billing-v2 [-dh] [-c value] [-e value] [-s value] [-x value] [parameters ...]
 -c, --calendar=value
                    calendar name
 -d, --dash         use dashes when printing totals
 -e, --end=value    end date (YYYY-MM-DD)
 -h, --help         display help
 -s, --start=value  start date (YYYY-MM-DD)
 -x, --search=value
                    search string (substring match in event description)

Typical use example to fetch calendar items in your primary calendar from 01/01/2017 to 01/01/2018 and sum only calendar events prefixed with "CLIENT:" prefix:

./IM-billing-v2 --search CLIENT: --start 2017-01-01 --end 2018-08-01