zmoog / toggl-track

Toggl Track CLI
Apache License 2.0
0 stars 1 forks source link

Add command to group entries by field #8

Closed zmoog closed 1 year ago

zmoog commented 1 year ago

Motivation

We want to add a new CLI command tgl entries group-by to group time entries by one of the entry attributes.

Here's an example if a group by tags:

$ tgl entries --project-id 178435728 group-by --field tags --start-date 2023-01-30

      Time Entries

 tags           Duration
 ─────────────────────────
 type:support   9:40
 type:meeting   7:38
 type:goal      5:58
 type:sync      5:08
 type:hr        0:54
 ─────────────────────────
 Total          29:20

Change description

Additional Notes

Closes: #6

Reviewer checklist