Skip to content

Adding Support for types

Compare
Choose a tag to compare
@ryancheley ryancheley released this 09 Mar 02:12
· 111 commits to main since this release

In this release I added the ability to get not just time_entries, but also projects, and workspaces using a new --type argument. The default is to get all three, but if you want to get just 1 or 2 of the types, you can.

Get a single type:

$ toggl-to-sqlite fetch -t workspaces toggl.db

Get two types:

$ toggl-to-sqlite fetch -t workspaces -t projects toggl.db

There are currently only 3 types to get:

  • time_entries
  • projects
  • workspaces