Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tom-doerr/taskwarrior-auto-tag-hook

This hook script allows to automatically add tags to a task.
https://github.com/tom-doerr/taskwarrior-auto-tag-hook

taskwarrior

Last synced: 4 days ago
JSON representation

This hook script allows to automatically add tags to a task.

Awesome Lists containing this project

README

        

# Taskwarrior-auto-tag-hook

This hook script allows to automatically add tags to a task.

## Installation

Option 1:
1. Copy `tags.config` to your `task/hooks/` folder
2. Copy `auto_tag.py` to you `task/hooks/` folder, rename it to `on-add.auto_tag.py` and make it executable by running `chmod +x on-add.auto_tag.py`
3. Copy `auto_tag.py` to you `task/hooks/` folder a second time, rename it to `on-modify.auto_tag.py` and make it executable by running `chmod +x on-modify.auto_tag.py`

Option 2:

Just execute `./setup` and it will create links to the script and configuration files you just downloaded.

## Configuration

Each attribute name in the tags.config file represents the tag to which another tag should be added. In the json file, the value following the attribute name is the tag that is going to be added to the task.