Skip to content

First Release

Latest
Compare
Choose a tag to compare
@andreaskoch andreaskoch released this 01 Oct 22:04

Implement import and export actions for togglcsv

The "export"-action exports all time records from your Toggl account
starting from a given start date until today:

togglcsv export <Your-Toggl-API-Token> <Start-Date (e.g. 2015-01-23)>

The "import"-action uploads given time records into your Toggl account.
Pipe the a given CSV file into togglcsv and import them into your
Toggl account:

togglcsv import <Your-Toggl-API-Token> < report.csv

The CSV-file format has seven columns:

  1. Start date (ISO 8601)
  2. Stop date (ISO 8601)
  3. Workspace name (Note: The workspace must exist before the import)
  4. Project name
  5. Client name
  6. Tags (comma separated)
  7. Description of the time record

Run unit tests:

make test

Create a code coverage report:

make coverage

Build/install:

make install

Cross Compile for Windows, Linux and Mac OS:

make crosscompile

togglcsv itself is licensed under Apache 2.0 and uses the following
external packages which are licensed under their respective licenses: