taskwarrior: Types and aeson instances for taskwarrior tasks

[ agpl, data, library, taskwarrior ] [ Propose Tags ] [ Report a vulnerability ]

Types and aeson instances for the https://taskwarrior.org task import/export feature


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.2.1, 0.1.2.2, 0.1.2.3, 0.1.2.4, 0.2.0.0, 0.2.1.0, 0.3.0.0, 0.3.1.0, 0.4.0.0, 0.4.1.0, 0.5.0.0, 0.6.0.0, 0.6.0.1, 0.6.0.2, 0.6.0.3, 0.6.0.4, 0.6.0.5, 0.6.0.6
Change log CHANGELOG.md
Dependencies aeson (>=2.0.0.0 && <2.3), base (>=4.11 && <4.19), bytestring (>=0.10.8.2 && <0.13), containers (>=0.5.0.0 && <0.7), process (>=1.6.5.0 && <1.7), random (>=1.1 && <1.3), text (>=1.2.3.0 && <2.1), time (>=1.8.0.2 && <1.14), uuid (>=1.3.13 && <1.4) [details]
License AGPL-3.0-or-later
Author maralorn <mail@maralorn.de>
Maintainer maralorn <mail@maralorn.de>
Category Taskwarrior, Data
Home page https://github.com/maralorn/haskell-taskwarrior
Bug tracker https://github.com/maralorn/haskell-taskwarrior/issues
Source repo head: git clone git://github.com/maralorn/haskell-taskwarrior.git
Uploaded by maralorn at 2023-07-31T13:19:46Z
Distributions NixOS:0.6.0.6
Downloads 4576 total (26 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for taskwarrior-0.6.0.6

[back to package description]

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 won’t be public and therefore not help anyone else.