Converts taskwarrior exports to todo.txt format
- creates todo and (optional) archive files
- keeps project, state, due date, creation date and completion date
- converts L/M/H priorities to (A)/(B)/(C)
- converts tags to contexts
- inlines projects and contexts if possible ("Tell Steve to do the thing", tags:Steve,bullying, project:thing" => "Tell @Steve to do the +thing @bullying")
Export your taskwarrior tasks
task export > export.json
Then convert them
python3 convert.py -i export.json -o todo.txt -a done.txt
'-i', '--input' => input json file
'-o', '--output' => output location
'-a', '--archive' => archive location, otherwise completed tasks are stored in the same file
'-s', '--skipCompleted' => ignore completed tasks
'-ns', '--noSort' => do not sort the results