18 breaking releases

0.19.2 Apr 4, 2024
0.19.0 Feb 24, 2024
0.17.0 Nov 23, 2022

#722 in Web programming

Download history 250/week @ 2024-02-22 31/week @ 2024-02-29 4/week @ 2024-03-07 1/week @ 2024-03-21 5/week @ 2024-03-28 166/week @ 2024-04-04 191/week @ 2024-04-11

197 downloads per month

MIT license

23KB
553 lines

tgl

A simple Toggl command line client.

Installation

The package name is tgl-cli on crates.io.

cargo install tgl-cli

Usage

The binary name is tgl. It will request your Toggle API token the first time you run it. It will store the token in your system's keyring so that you don't need to provide it in the future.

tgl

Alternatively, you can set the TOGGL_API_TOKEN environment variable. You can retrieve your Toggl API token from https://track.toggl.com/profile.

Bash/Zsh:

read -s TOGGL_API_TOKEN
export TOGGL_API_TOKEN
tgl

Fish:

read -sx TOGGL_API_TOKEN
tgl

Contributing

Release checklist

Use cargo-release to deploy new releases.

cargo release minor [--execute]
gh release create --generate-notes

Dependencies

~7–22MB
~357K SLoC