Skip to content

user-51/taskwarrior2todo.txt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Converts taskwarrior exports to todo.txt format

Features

  • 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")

Usage

Export your taskwarrior tasks

task export > export.json

Then convert them

python3 convert.py -i export.json -o todo.txt -a done.txt

Options

'-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

About

Convert taskwarrior exports to todo.txt format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%