Skip to content

gabalese/toggl-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toggl-CLI

A command line client for Toggl.

Installation

Download the latest release package.

Unzip the .tar somewhere on your filesystem:

tar vxf toggl-cli-0.x.tar.gz

Install the program using the Makefile:

make install

The client is now available as toggl in ~/local/bin, therefore in $PATH.

Setup

Requires an environment variable TOGGL_KEY set with the API key for the present user. The key can be found in the user profile.

export TOGGL_KEY=<api key>

Available commands

toggl me

Information about the current user.

toggl start [task name]

Start a new task named "task name".

toggl get current

Fetch the current running task.

toggl get last [n]

Fetch the last n tasks, or the latest non-running one.

toggl stop current

Stop the current running task.

toggl start last

Start a new time slot for the last task.

Package application

sbt pack-archive

About

Command line client for Toggl timekeeping

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages