Toggl command line on Windows
How to run toggl-cli on Windows (using Git bash):
Make a directory for user binaries:
…and change to it:
Clone the repository into the subdirectory “toggl-cli”:
Install prerequisites (“requests” was not mentioned in the README, but did need to be installed on my system with ActiveState Python 2.7):
Run the program once, don’t be afraid when it crashes, this is expected because of the missing configuration file (which it creates during this run):
Edit the configuration file:
Update the line “username” with the “E-mail” and the line “apitoken” with the API token from your Toggl profile, e.g.:
Save and close the configuration file.
toggl-cli is now ready for use (you might want to add it to your PATH and change the shebang line to your Python interpreter for ease of use). Some usage examples:
Start working on a task:
Stop working on a task:
Continue working on a task:
View more advanced syntax examples: