Ext: Added initial extensions and README

This commit is contained in:
Paul Beckingham 2016-03-26 13:02:55 -04:00
parent f79bca258c
commit ff8e3ef68d
3 changed files with 33 additions and 0 deletions

12
ext/README Normal file
View file

@ -0,0 +1,12 @@
Timewarrior Extensions
======================
debug.py
This is a debug extension that simply echoes back everything it sees in its
input. It's handy to see how the command line affects what an extension sees
and will likely be removed before release.
on-modify.timewarrior
This is hook script that will integrate Taskwarrior and Timewarrior.

6
ext/debug.py Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env python
import sys
for line in sys.stdin:
print '#', line.strip()

15
ext/on-modify.timewarrior Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env python
import sys
# This is a placeholder for a Taskwarrior hook script that integrates Timewarrior
# Hook should extract all of the following for use as Timewarrior tags:
# UUID
# Project
# Tags
# Description
# UDAs
sys.exit(0)