aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: aa144657e201663ad547e60c9b76dcd61abd101b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# hatask

Task list manager

## Build

To build, install [hare](https://harelang.org/) and run:

    $ hare build .

## Usage

    ./hatask: tasklist

    Usage: ./hatask [-hpd] [-f <path>] [-c <context>] [-t <tags>]

    -h: print this help text
    -f <path>: tasks directory
    -c <context>: context filter
    -t <tags>: tags filter
    -p: sort by priority
    -d: activate debug mode

    Subcommands:
      filter: filter tasks
      f: filter tasks
      show: show task details
      s: show task details
      add: add a task
      a: add a task
      write: write a task
      w: write a task
      done: delete a task
      d: delete a task
      tsv: print tsv of tasks
      t: print tsv of tasks

## Config

hatask uses an ini format config at $XDG\_CONFIG\_HOME/hatask/config.ini.

The list of keys:

* tasksdir: the path to the tasks directory
* context: an optional context to filter by
* tags: an optional comma-separated list of tags to filter by

For example:

    tasksdir=/path/to/tasks/folder
    context=work
    tags=features