Skip to content

Instantly share code, notes, and snippets.

@linuxcaffe
Created June 3, 2014 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linuxcaffe/a5852f26b1b523341832 to your computer and use it in GitHub Desktop.
Save linuxcaffe/a5852f26b1b523341832 to your computer and use it in GitHub Desktop.
task calc experiments
djp@tigger:~/tmp/task$ tw sync
+task sync
Syncing with ack.tasktools.org:53589
Sync successful. 12 changes uploaded.
djp@tigger:~/tmp/task$ tw calc 10.project
+task calc 10.project
tw.input
djp@tigger:~/tmp/task$ tw 10
+task 10
No command specified - assuming 'information'.
Name Value
ID 10
Description lazytagging for special characters
01/22 21:11 Notes: discussion of lazy-tagging
Status Pending
Project tw.input
Entered 2010-08-31 11:29:16 (3.8 yrs)
Last modified 2013-11-08 15:50:57 (6 mths)
Tags feature test
UUID 41f58b37-4379-3ad8-bb53-780f92e61796
Urgency 4.7
project 1 * 1 = 1
annotations 0.8 * 1 = 0.8
tags 0.9 * 1 = 0.9
age 1 * 2 = 2
Area it
Date Modification
2013-10-04 14:17:22 Modified set to '2013-10-04 14:17:22'.
Start set to '2013-09-07 03:01:19'.
2013-10-04 14:17:22 Start deleted (duration: 0:00:00).
2013-11-02 20:53:43 Area set to 'it.tw'.
Modified changed from '2013-10-04 14:17:22' to '2013-11-02 20:53:43'.
2013-11-02 21:34:08 Modified changed from '2013-11-02 20:53:43' to '2013-11-02 21:34:08'.
Project changed from 'tw' to 'input'.
2013-11-08 15:46:25 Modified changed from '2013-11-02 21:34:08' to '2013-11-08 15:46:25'.
Project changed from 'input' to 'tw.input'.
2013-11-08 15:50:57 Area changed from 'it.tw' to 'it'.
Modified changed from '2013-11-08 15:46:25' to '2013-11-08 15:50:57'.
Filter: ( ( id == 10 ) )
djp@tigger:~/tmp/task$ tw calc 10.area
+task calc 10.area
it
djp@tigger:~/tmp/task$ tw calc 10.tags
+task calc 10.tags
feature,test
djp@tigger:~/tmp/task$ tw phase.any:
+task phase.any:
[task limit:page list phase.any:]
ID Age D P Area Project Ø Tags Dur Description Urg
57 6mo it tw.reports 1 30m add phase to all reports 2.13
12 1.4y D it tw.taskopen 1 more taskopen experiments [8] -1
15 1.3y it tw.test 1 test recursive behavior [1] 11.8
43 7mo it tw.test 1 1h test url http://taskwarrior.org [2] 3.13
50 7mo M it tw.uda 1 test test new udas 6.86
34 8mo M it tw.vit 2 vit test 2h write vit manpage [1] 8.07
6 tasks
Filter: ( ( status == pending ) and phase != '' )
djp@tigger:~/tmp/task$ tw calc 57.phase + 34.phase + 3
+task calc 57.phase + 34.phase + 3
123
djp@tigger:~/tmp/task$ tw calc 57.phase + 34.phase
+task calc 57.phase + 34.phase
12
djp@tigger:~/tmp/task$ tw calc 34.phase + 57.phase
+task calc 34.phase + 57.phase
21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment