From aff4b5133f325cf8bac4cebd5f52ad5840a2e2f9 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 6 Apr 2016 17:46:15 -0400 Subject: [PATCH] Docs: Added references to DOM needs --- doc/project.txt | 8 ++++++++ doc/rules.txt | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/doc/project.txt b/doc/project.txt index 734ee7cb..10921d65 100644 --- a/doc/project.txt +++ b/doc/project.txt @@ -111,6 +111,14 @@ A simple extension mechanism allows custom reports to be written and shared. Most reports will be external scripts that use the extension API. +DOM Access +---------- +Timewarrior will support a DOM, allowing rules and extensions to access internal +data. + +[TBD] + + --- Raw Notes --- - Need syntax to adjust any recorded data. diff --git a/doc/rules.txt b/doc/rules.txt index f31957df..ef6252b3 100644 --- a/doc/rules.txt +++ b/doc/rules.txt @@ -203,6 +203,12 @@ set of arguments. define rule hook on_modify: ... +These rules can call an external script and provide arguments, based on rules +DOM access: + + define rule hook on_modify: + call /path/to/my/script + Rules Type: Hint ----------------