Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.
/ TogglTime Public archive

Command line utility for submitting your time to Toggl.

Notifications You must be signed in to change notification settings

TSYS-Merchant/TogglTime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TogglTime

A command line utility for submitting your time to Toggl.

Setup

  1. Edit the src/TogglTime/App.Config file with your Toggl default information. This includes your Toggl API Token (found on the Toggl website under "My Profile") and your default workspace, project, task, and billable settings.
  2. Run build.cmd to build TogglTime.
  3. Run Release/TogglTime.exe to start TogglTime. Feel free to copy the Release folder out somewhere more usable for each configuration build and/or create a shortcut to TogglTime.exe on your desktop.

This configuration and build can also all be done from within Visual Studio.

Command line arguments

Various command line arguments are available if you do not want to be prompted for them each time you run TogglTime.

TogglTime.exe [[workspaceId:int] [projectId:int] [taskId:int] [billable:bool]]

If you do not have a Task ID, - can be passed for the third argument.

TIP: Using the above command line arguments, create a simple cmd script for each project configuration on your desktop that can launch TogglTime by just double clicking it.

Linux/Mac

Those on Linux or Mac can install Mono in order to run TogglTime. With Mono installed you can now build using build.sh and then execute TogglTime with mono:

mono TogglTime.exe [[workspaceId:int] [projectId:int] [taskId:int] [billable:bool]]

TIP: Using the above command line arguments, create a simple shell script for each project configuration on your desktop that can launch TogglTime by just double clicking it. See here for instructions on setting something like that up.