Commit Graph

18 Commits

Author SHA1 Message Date
9f93b92a29 Add --map-tag SRC=DST option to translate or remove tags 2019-06-09 20:30:47 +02:00
e94755348e Add --map-project SRC=DST option to map/translate project names 2019-03-30 18:34:11 +01:00
33d3dd3417 Fix typo in output at beginning of migration 2019-03-25 22:18:03 +01:00
b624aa77e6 Add clean command to remove todoist cache 2019-03-25 22:12:34 +01:00
176ee0119c Rename task_prompt() -> add_task_interactive() 2019-03-24 16:29:02 +01:00
4f3402409a Add io.with_feedback() context manager for tasks report OK/FAILED 2019-03-24 16:25:20 +01:00
f1ceda3733 Disallow invalid priorities during interactive prompt 2019-03-24 12:55:10 +01:00
c813d5cd6e Move echo/prompt logic into io.py 2019-03-24 12:47:06 +01:00
485aca1a50 Improve documentation of commands and options 2019-03-23 22:01:51 +01:00
6ccde147a2 Add quit command in interactive migration 2019-03-23 21:15:14 +01:00
453f8d1e28 Factor out synchronize command to update local todoist database 2019-03-23 21:09:47 +01:00
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
a2cb6b7887 Fix parse error 'every hour' -> 'hourly' recurrence 2019-01-21 20:38:19 +01:00
ef26faa356 Reformat long DOW regex over multiple lines 2019-01-21 20:36:07 +01:00
aa48ea1d3c Improve regex and test for days of the week 2019-01-21 12:12:49 +01:00
4d90c4ba4f Implement interactive task add with support for name, priority and tags 2018-11-24 18:48:48 +01:00
3d8c91e496 Refactor recur parsing and cover more cases 2018-11-24 15:15:06 +01:00
245daaa3fb Refactor into module structure 2018-11-24 00:24:23 +01:00