#toggl

bin+lib tgl-cli

A simple Toggl command line client

16 breaking releases

0.17.0 Nov 23, 2022
0.15.0 Nov 19, 2022

#1185 in Command line utilities

Download history 8/week @ 2022-11-25 24/week @ 2022-12-02 18/week @ 2022-12-16 7/week @ 2022-12-30 2/week @ 2023-01-06 5/week @ 2023-01-13 3/week @ 2023-01-20 9/week @ 2023-01-27 18/week @ 2023-02-03 43/week @ 2023-02-10 35/week @ 2023-02-17 34/week @ 2023-03-10

82 downloads per month

MIT license

21KB
514 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 release minor [--execute]
gh release create --generate-notes

Dependencies

~7–16MB
~323K SLoC