Commit Graph

8 Commits

Author SHA1 Message Date
Matt Snider
453f8d1e28 Factor out synchronize command to update local todoist database 2019-03-23 21:09:47 +01:00
Matt Snider
9b9a310c0f Prevent reimporting duplicate tasks using a Taskwarrior UDA
Taskwarrior's User Defined Attributes (see link below) allow us to define custom
data attributes for tasks. We can use this to store the ID from Todoist to
prevent reimporting a task in subsequent runs.

https://taskwarrior.org/docs/udas.html
2019-01-21 21:17:40 +01:00
Matt Snider
a2cb6b7887 Fix parse error 'every hour' -> 'hourly' recurrence 2019-01-21 20:38:19 +01:00
Matt Snider
ef26faa356 Reformat long DOW regex over multiple lines 2019-01-21 20:36:07 +01:00
Matt Snider
aa48ea1d3c Improve regex and test for days of the week 2019-01-21 12:12:49 +01:00
Matt Snider
4d90c4ba4f Implement interactive task add with support for name, priority and tags 2018-11-24 18:48:48 +01:00
Matt Snider
3d8c91e496 Refactor recur parsing and cover more cases 2018-11-24 15:15:06 +01:00
Matt Snider
245daaa3fb Refactor into module structure 2018-11-24 00:24:23 +01:00