GothenburgBitFactory / tasklib

A Python library for interacting with taskwarrior databases.
http://tasklib.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
146 stars 27 forks source link

Add projects support #56

Closed lyz-code closed 6 years ago

lyz-code commented 6 years ago

Hi, I'd like to add support to get a dictionary tree of the available projects.

I just support till the subsubproject, I don't think I need to go deeper.

Cheers

lyz-code commented 6 years ago

I close the PR because tasklib overrides some configurations and it messes up the users configuration.

If you want to change the configuration of taskwarrior inside tasklib use:

self.backend.execute_command([                                                  
    'config',                                                                   
    'urgency.uda.pri.coefficient', 
    1,                                                                          
])