Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.03 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.03 KB

Toggl-Report

This is a simple tool created to export from Toggl a weekly summary report of total hours spent per task each day. It was created for personal use, and is only intended to cover a single use-case; mine.

Installation

To install dependencies, it's recommended to use Bundler.

$ gem install bundler
$ bundle install

Usage

To use the report generator, you'll need a Toggl API token. It can be generated on the profile page. This token must be added as the environment variable TOGGL_TOKEN. Alternatively you can add a .env file:

TOGGL_TOKEN=<token>

You can then generate a report for a week by executing:

$ bundle exec bin/togg-report week <WEEK> [YEAR]