todoist-taskwarrior/TODO.md
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

1014 B

TODO:

  • Support start, until and for
  • Support repetition as regular period or offset from completion date (every!)
    • e.g. every! 30 days would be due 30 days after completion date
  • Other 'every'
    • every 3rd friday
    • every 27th -- every 27th of the month (every 27 also works)
    • every jan 27th
    • every last day -- every last day of the month
  • Delete todoist cache or add warning so user does not forget that potentially sensitive data is lying around in file system
  • Handle inconsistencies (i.e. throw error or prompt for user input)
    • Taskwarrior: 'monthly' just means 30d (see: link)
    • Taskwarrior: 'every monday,tuesday' is not possible

Testing:

  • 'ev' as shortform for every
  • For inconsistencies in meaning or support, an exception should be thrown