Matt Snider
b624aa77e6
Add clean
command to remove todoist cache
2019-03-25 22:12:34 +01:00
Matt Snider
176ee0119c
Rename task_prompt() -> add_task_interactive()
2019-03-24 16:29:02 +01:00
Matt Snider
4f3402409a
Add io.with_feedback() context manager for tasks report OK/FAILED
2019-03-24 16:25:20 +01:00
Matt Snider
f1ceda3733
Disallow invalid priorities during interactive prompt
2019-03-24 12:55:10 +01:00
Matt Snider
c813d5cd6e
Move echo/prompt logic into io.py
2019-03-24 12:47:06 +01:00
Matt Snider
485aca1a50
Improve documentation of commands and options
2019-03-23 22:01:51 +01:00
Matt Snider
6ccde147a2
Add quit command in interactive migration
2019-03-23 21:15:14 +01:00
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