mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Ext: Added initial extensions and README
This commit is contained in:
parent
f79bca258c
commit
ff8e3ef68d
3 changed files with 33 additions and 0 deletions
12
ext/README
Normal file
12
ext/README
Normal 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
6
ext/debug.py
Executable 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
15
ext/on-modify.timewarrior
Executable 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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue