Go to file
maralorn c7b6271096
Some checks failed
Build default.nix / build-test-nix (push) Has been cancelled
Release 0.6.0.6
2023-07-31 15:13:54 +02:00
.github/workflows Rename test to default.nix 2021-11-26 19:09:51 +01:00
nix Prepare v0.6.0.4 2022-11-28 16:13:21 +01:00
src/Taskwarrior Prepare v0.6.0.4 2022-11-28 16:13:21 +01:00
test Downgrade Waiting to not being a status 2021-11-26 21:22:45 +01:00
.gitignore Fix test.nix 2021-10-16 13:03:50 +02:00
cabal.project Add cabal.project 2020-04-26 03:51:25 +02:00
CHANGELOG.md Release 0.6.0.6 2023-07-31 15:13:54 +02:00
default.nix Reset default ghc 2022-11-28 16:21:29 +01:00
fourmolu.yaml Switch to fourmolu formatting 2021-10-10 22:54:38 +02:00
hie.yaml Support taskwarrior 2.6 2021-11-26 16:52:34 +01:00
LICENSE Initial commit 2019-11-02 00:33:31 +01:00
README.md Update README.md 2021-10-10 23:21:38 +02:00
taskwarrior.cabal Release 0.6.0.6 2023-07-31 15:13:54 +02:00

taskwarrior

Hackage Deps CI Packaging status

About

Taskwarrior is a feature rich command-line task management tool.

This Haskell library contains

  • a data type to represent a taskwarrior task
  • Aeson instances to deserialize and serialize a task according to the taskwarrior import/export specifications
  • IO actions to load and manipulate tasks by calling the task command. (Since this is the encouraged way to library design by the taskwarrior developers.)

Usage

Install taskwarrior from hackage. Have a look at Taskwarrior.IO.getTasks to get started.

This example prints the description of (at the most) 5 pending tasks.

import Taskwarrior.IO (getTasks)
import Taskwarrior.Task as Task

main :: IO ()
main = do
  tasks <- getTasks ["+PENDING", "limit:5"]
  print $ Task.description <$> tasks

Contributions

Any form of issue reports, general feedback, feature requests or suggestions and of course code contributions are highly welcome.

Also I'd be curious to know what you use this library for.

This project uses fourmolu as code formatter.

Help & Contact

You can always open an issue on GitHub. Contacting @maralorn:maralorn.de on matrix is also an option. But of course that wont be public and therefore not help anyone else.