An open API service indexing awesome lists of open source software.

https://github.com/andrewarrow/toggl


https://github.com/andrewarrow/toggl

billing clients hours tasks teams timer tracker tracker-application trackers

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# toggl

![cURL](cURL.png)

Copy as cURL one of your toggl.com http requests.

Paste this into a text field and extract your cookie to a file like:

```
export TOGGL_COOKIE='_gcl_au=ABC123...'
```

Replace (inside the single quotes) the `_gcl_au=ABC123...` stuff with your cookie value.

# with api key vs cookie

![apiToken](apiToken.png)

```
export TOGGL_API_TOKEN=...
```

# building

```
cargo build
cp targets/debug/toggle-cli .
```

# running

```
./toggl-cli
--task=prefix or (--desc='desc of what I did' --time='when')

./toggl-cli --task='foo'
(this will search your projects and tasks for the string foo)

export TOGGLE_TASK_ID=123
(you get 123 from the step before)

./toggl-cli --desc='i did a lot for project foo.' --time='2024-07-19 16:00'
```