IM-billing-v2

command module
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: GPL-2.0 Imports: 19 Imported by: 0

README

IM-billing-v2

GitHub license GitHub release 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.

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 install github.com/dkorunic/IM-billing-v2@latest

Usage

NAME
  IM-billing-v2

FLAGS
  -c, --calendar STRING    calendar name
  -s, --start STRING       start date (YYYY-MM-DD)
  -e, --end STRING         end date (YYYY-MM-DD)
  -x, --search STRING      search string (substring match in event description)
      --config STRING      config file (optional)
  -t, --timeout DURATION   Google Calendar API timeout (default: 1m0s)
  -h, --help               display help
  -d, --dash               use dashes when printing totals
  -r, --recurring          include recurring events

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

Documentation

Overview

*

  • @license
  • Copyright (C) 2018 Dinko Korunic, InfoMAR *
  • This program is free software; you can redistribute it and/or modify it
  • under the terms of the GNU General Public License as published by the
  • Free Software Foundation; either version 2 of the License, or (at your
  • option) any later version. *
  • This program is distributed in the hope that it will be useful, but
  • WITHOUT ANY WARRANTY; without even the implied warranty of
  • MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  • General Public License for more details. *
  • You should have received a copy of the GNU General Public License along
  • with this program; if not, write to the Free Software Foundation, Inc.,
  • 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

*

  • @license
  • Copyright (C) 2018 Dinko Korunic, InfoMAR *
  • This program is free software; you can redistribute it and/or modify it
  • under the terms of the GNU General Public License as published by the
  • Free Software Foundation; either version 2 of the License, or (at your
  • option) any later version. *
  • This program is distributed in the hope that it will be useful, but
  • WITHOUT ANY WARRANTY; without even the implied warranty of
  • MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  • General Public License for more details. *
  • You should have received a copy of the GNU General Public License along
  • with this program; if not, write to the Free Software Foundation, Inc.,
  • 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Directories

Path Synopsis
*
*
*
*

Jump to

Keyboard shortcuts

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