A command line utility for submitting your time to Toggl.
- 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. - Run
build.cmd
to build TogglTime. - Run
Release/TogglTime.exe
to start TogglTime. Feel free to copy theRelease
folder out somewhere more usable for each configuration build and/or create a shortcut toTogglTime.exe
on your desktop.
This configuration and build can also all be done from within Visual Studio.
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.
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.