taskwarrior-0.1.0.0: Types and aeson instances for taskwarrior tasks

Safe HaskellNone
LanguageHaskell2010

Taskwarrior.IO

Description

This modules contains IO actions to interact with the taskwarrior application. The taskwarrior documentation very explicitly disallows accessing the files by itself. So all functions here work via calling the task binary which needs to be in the PATH.

Synopsis

Documentation

getTasks :: [Text] -> IO [Task] Source #

Uses task export with a given filter like ["description:Milk", "+PENDING"].

saveTasks :: [Task] -> IO () Source #

Uses task import to save the given tasks.