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
- Host: GitHub
- URL: https://github.com/andrewarrow/toggl
- Owner: andrewarrow
- License: mit
- Created: 2024-07-19T18:47:26.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-20T21:46:54.000Z (10 months ago)
- Last Synced: 2024-12-31T04:02:52.135Z (5 months ago)
- Topics: billing, clients, hours, tasks, teams, timer, tracker, tracker-application, trackers
- Language: Rust
- Homepage: https://track.toggl.com/
- Size: 541 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# toggl

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

```
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'
```