Compare commits
1832 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05f7948f7e | ||
|
|
daae1749bc | ||
|
|
dbabeef54c | ||
|
|
d1cac8c958 | ||
|
|
66996b5eab | ||
|
|
51fd11a535 | ||
|
|
be7628449a | ||
|
|
2b8cb3e251 | ||
|
|
f420fb434e | ||
|
|
d99e0db108 | ||
|
|
7db5377d3b | ||
|
|
c7df1f7acc | ||
|
|
3cfd57b46f | ||
|
|
7e4adbc091 | ||
|
|
656e350291 | ||
|
|
d895c4a249 | ||
|
|
d14a9cacec | ||
|
|
1de2f9e6f1 | ||
|
|
6824fb1527 | ||
|
|
baeee7566d | ||
|
|
16635a4262 | ||
|
|
e4da3aca0d | ||
|
|
0cc7bc337d | ||
|
|
983e07ab01 | ||
|
|
a7b06bd0ee | ||
|
|
6d852a96ca | ||
|
|
6c0561cb4d | ||
|
|
e88b52b67d | ||
|
|
4afcc14ca4 | ||
|
|
9fea189d25 | ||
|
|
168266febf | ||
|
|
0a8c54ae57 | ||
|
|
e3afa04e2d | ||
|
|
9ed67f1a45 | ||
|
|
864b46a1b1 | ||
|
|
da8258256d | ||
|
|
14b7e9ff6e | ||
|
|
82bd13bc7a | ||
|
|
a790cce6f6 | ||
|
|
a40f424dad | ||
|
|
88968ac36c | ||
|
|
08b959aafc | ||
|
|
d4fee2b799 | ||
|
|
7388cec75e | ||
|
|
48b9fdc152 | ||
|
|
631d03ce38 | ||
|
|
f3967e7d97 | ||
|
|
bcd414aad7 | ||
|
|
a409923916 | ||
|
|
c2c4152669 | ||
|
|
699852b43b | ||
|
|
39dbbbda35 | ||
|
|
1dccd29643 | ||
|
|
430acab7ea | ||
|
|
c978b2b65a | ||
|
|
1428a4135b | ||
|
|
3dab5a1cb1 | ||
|
|
1b3165a18f | ||
|
|
6aa0277749 | ||
|
|
914447c885 | ||
|
|
551b4dbe90 | ||
|
|
8e536fa4a8 | ||
|
|
fcf9ba983c | ||
|
|
7327b0d537 | ||
|
|
7fc7093f68 | ||
|
|
3d4bad3034 | ||
|
|
330761e997 | ||
|
|
089b3e7d66 | ||
|
|
0bcb22f8e4 | ||
|
|
2bb601e6f2 | ||
|
|
f9d74c9bed | ||
|
|
62dcd6398c | ||
|
|
9395a4d112 | ||
|
|
ca330dc05d | ||
|
|
c68b2a149f | ||
|
|
c87ce366a9 | ||
|
|
2be52e1be2 | ||
|
|
adacb96581 | ||
|
|
36e371c5c0 | ||
|
|
aca76da3e5 | ||
|
|
b6c28ecb7a | ||
|
|
509f818b91 | ||
|
|
e6804a1679 | ||
|
|
09683f0bb9 | ||
|
|
f2ae8a13fa | ||
|
|
b230da75e6 | ||
|
|
c6c99c2e38 | ||
|
|
e180dce1bc | ||
|
|
7e3ee1b284 | ||
|
|
a0d6b3198e | ||
|
|
ee7fd7add0 | ||
|
|
01e589a172 | ||
|
|
ae58b85339 | ||
|
|
45202c292b | ||
|
|
55813b6a09 | ||
|
|
26dbd8e790 | ||
|
|
8271e973d8 | ||
|
|
dd1f154376 | ||
|
|
76468f3ddd | ||
|
|
30072cb75b | ||
|
|
46d5b34091 | ||
|
|
19cc9177b9 | ||
|
|
40f2afeb8e | ||
|
|
d60af770a3 | ||
|
|
3583e2ff58 | ||
|
|
4ca5c85054 | ||
|
|
21704e6705 | ||
|
|
650c6cf6bb | ||
|
|
d7c225c87b | ||
|
|
a7b20b7a4e | ||
|
|
cfac0c42e8 | ||
|
|
b0bb56cfa8 | ||
|
|
0f4a366752 | ||
|
|
28523e97c6 | ||
|
|
5ec68d3e0c | ||
|
|
73043b868e | ||
|
|
eeb4cf3dd8 | ||
|
|
9b63fd6068 | ||
|
|
5d0e4249e3 | ||
|
|
b515111f2b | ||
|
|
c0fbfcc58c | ||
|
|
745d24e124 | ||
|
|
144ca70a36 | ||
|
|
14c17d5c4d | ||
|
|
d89ee4d19c | ||
|
|
8e5dd60687 | ||
|
|
1d3248bb1f | ||
|
|
f0bd5a4f20 | ||
|
|
8659ff8292 | ||
|
|
3a2a500eb1 | ||
|
|
6ce3a8e27f | ||
|
|
4e03832b68 | ||
|
|
12b12c3a62 | ||
|
|
d8579730f5 | ||
|
|
7710c7a623 | ||
|
|
0e28374131 | ||
|
|
69b63189f6 | ||
|
|
638a242476 | ||
|
|
92c3f0862d | ||
|
|
973e0ed56b | ||
|
|
2afb893b2a | ||
|
|
9929dbb543 | ||
|
|
d9e24098b5 | ||
|
|
4baaf52610 | ||
|
|
d6ce938c4a | ||
|
|
fb427a4c6f | ||
|
|
42661312d6 | ||
|
|
879ecf9505 | ||
|
|
9fe9f96f8f | ||
|
|
d2f267a7da | ||
|
|
68963ad3e4 | ||
|
|
bb167b2275 | ||
|
|
8d8bd653fa | ||
|
|
61ccccabd8 | ||
|
|
9fb15b0d7d | ||
|
|
be5dc8ab90 | ||
|
|
a3242f7b5b | ||
|
|
b93f384b3a | ||
|
|
1e3176ed70 | ||
|
|
1c5068edb2 | ||
|
|
d8a4aab85b | ||
|
|
ad3e249a64 | ||
|
|
c2ccd1b3ee | ||
|
|
9d1ae99656 | ||
|
|
2f10e8d2e2 | ||
|
|
eb09f4da9a | ||
|
|
112d0d8771 | ||
|
|
31bbc0ea2f | ||
|
|
8cd43ce2b2 | ||
|
|
724f29a50b | ||
|
|
bbd8a9556e | ||
|
|
68c1ca3f69 | ||
|
|
d868294d90 | ||
|
|
36e3317907 | ||
|
|
da37c08dbd | ||
|
|
89a7f2a459 | ||
|
|
98da8ddcb8 | ||
|
|
cf634a22c9 | ||
|
|
55fe8810ce | ||
|
|
6a4fd6b133 | ||
|
|
ed8be2e2f2 | ||
|
|
7a6cdde571 | ||
|
|
589d8fab5c | ||
|
|
b0af5f1496 | ||
|
|
e4e58e6571 | ||
|
|
efeb00d423 | ||
|
|
e796d7a2f1 | ||
|
|
660f7bd98e | ||
|
|
7c408f4c5f | ||
|
|
c5de9df963 | ||
|
|
98a5788a40 | ||
|
|
968d1c32e8 | ||
|
|
23cd59a9a1 | ||
|
|
945127ad05 | ||
|
|
8850bc849f | ||
|
|
e89aa6cdbc | ||
|
|
f1c156be39 | ||
|
|
b02bbb3c2c | ||
|
|
60c1017e68 | ||
|
|
109c6434f5 | ||
|
|
7b0b3210a5 | ||
|
|
8d66d801c0 | ||
|
|
d73766484d | ||
|
|
bd085a820d | ||
|
|
54b2e10da4 | ||
|
|
fd731dfd6e | ||
|
|
61b128ca88 | ||
|
|
e9abac1d0f | ||
|
|
ec330921de | ||
|
|
384be4b249 | ||
|
|
b5cd5ea188 | ||
|
|
ee0a16f663 | ||
|
|
d623a6f9af | ||
|
|
90108e5394 | ||
|
|
affda052c8 | ||
|
|
31769a1fa4 | ||
|
|
5db7b6c290 | ||
|
|
ff1cc85d38 | ||
|
|
7b04ae43a0 | ||
|
|
58a87b5ed0 | ||
|
|
4f76e0ed7c | ||
|
|
275132c1fa | ||
|
|
0ac6578899 | ||
|
|
afcbaa20a9 | ||
|
|
0a3de2b867 | ||
|
|
0857b451d6 | ||
|
|
154d99385a | ||
|
|
fc45484069 | ||
|
|
1e938593d4 | ||
|
|
c20ce334f9 | ||
|
|
0a00f3cde4 | ||
|
|
276971675a | ||
|
|
160260ff48 | ||
|
|
39456a3243 | ||
|
|
d89d51e7e1 | ||
|
|
1d99260cb9 | ||
|
|
e5d142a468 | ||
|
|
3bf9ebad62 | ||
|
|
60e7260920 | ||
|
|
406f098263 | ||
|
|
54e3de8118 | ||
|
|
4400a6f6ca | ||
|
|
46c5f8b826 | ||
|
|
254d5c6fd7 | ||
|
|
c71146611c | ||
|
|
99849e55b4 | ||
|
|
c247cf11ad | ||
|
|
28e66a28aa | ||
|
|
7b298a1b3d | ||
|
|
98fbd28501 | ||
|
|
a413331c94 | ||
|
|
4fe671f895 | ||
|
|
09074dc708 | ||
|
|
14a8511056 | ||
|
|
16bef4a29e | ||
|
|
a469a2c6d5 | ||
|
|
6a2c047beb | ||
|
|
9a2ab14a34 | ||
|
|
c20c025c8e | ||
|
|
561102b70b | ||
|
|
051274b960 | ||
|
|
1920b6249e | ||
|
|
0022cfe10b | ||
|
|
92adb5e266 | ||
|
|
a655be823b | ||
|
|
7e48eb9ec2 | ||
|
|
72ca3f68ea | ||
|
|
a3b56feb1f | ||
|
|
2815fcb90d | ||
|
|
f42fa76e45 | ||
|
|
21b7bebf5d | ||
|
|
57aa2de98c | ||
|
|
1d593c39e0 | ||
|
|
9028ca4945 | ||
|
|
360ab3138a | ||
|
|
d4a46eaf04 | ||
|
|
e3691f3fb9 | ||
|
|
0973486d38 | ||
|
|
4c901e2fe4 | ||
|
|
81563ec624 | ||
|
|
10a22e293e | ||
|
|
89a738e8be | ||
|
|
43c2b402cd | ||
|
|
76c8d616d9 | ||
|
|
da9bd8faa9 | ||
|
|
550031f5d8 | ||
|
|
cc5ecafc30 | ||
|
|
d0397f8481 | ||
|
|
08b37c9943 | ||
|
|
573e0b2a65 | ||
|
|
19b01131ce | ||
|
|
3f158bc546 | ||
|
|
a7e2918953 | ||
|
|
95df0baeae | ||
|
|
c8ce91e4be | ||
|
|
7fb25a21df | ||
|
|
79e2c591f1 | ||
|
|
02053f7300 | ||
|
|
d59aaa6427 | ||
|
|
88fcdab515 | ||
|
|
b702251431 | ||
|
|
99b0c5568a | ||
|
|
c4a61566af | ||
|
|
4d4f286330 | ||
|
|
5fcc33f1f8 | ||
|
|
d8b0b0f594 | ||
|
|
b0b8bfe1d2 | ||
|
|
d16f434899 | ||
|
|
416cb40e3d | ||
|
|
7eebfba1ef | ||
|
|
1b329d34b3 | ||
|
|
19cfd5453d | ||
|
|
2be691c2c5 | ||
|
|
66eb09ab25 | ||
|
|
da575c4043 | ||
|
|
75822eed47 | ||
|
|
1668aef66b | ||
|
|
7f1d8c3682 | ||
|
|
0d3f6f990d | ||
|
|
9a9453a57f | ||
|
|
2b20009b7f | ||
|
|
b1e63e575a | ||
|
|
e1407437e0 | ||
|
|
eaae2d84da | ||
|
|
8ef9ec9b9f | ||
|
|
c84e3cc893 | ||
|
|
1e632fea66 | ||
|
|
e5fe704f6a | ||
|
|
3cea8889e3 | ||
|
|
b45a305df2 | ||
|
|
b093d23f1f | ||
|
|
bfba1c725d | ||
|
|
b2a1c327f4 | ||
|
|
bc2addeb41 | ||
|
|
1201d0b485 | ||
|
|
fe886b5865 | ||
|
|
fc4a71aa5c | ||
|
|
0b75fe1311 | ||
|
|
30d3a36f47 | ||
|
|
858c95e557 | ||
|
|
9a6319a210 | ||
|
|
e8309fcf49 | ||
|
|
180ff95649 | ||
|
|
128b139b17 | ||
|
|
3e36438597 | ||
|
|
65e8cc63fc | ||
|
|
f23d8921e4 | ||
|
|
b63bd9e985 | ||
|
|
ca1fce280b | ||
|
|
c42706a3dc | ||
|
|
e99bbf6213 | ||
|
|
7a8e292fe8 | ||
|
|
90c420263c | ||
|
|
f2f6b788e8 | ||
|
|
ddd7bc3f0a | ||
|
|
a9058612a7 | ||
|
|
43076a6cd7 | ||
|
|
003f092bf4 | ||
|
|
542f1e0f82 | ||
|
|
ed5ecb3aa5 | ||
|
|
eae4cae13b | ||
|
|
f70cad081f | ||
|
|
988288f6d2 | ||
|
|
0b1b677aa5 | ||
|
|
fe954a6acc | ||
|
|
82a4607ec6 | ||
|
|
ba992a631e | ||
|
|
84e1d0e7d2 | ||
|
|
72621febd4 | ||
|
|
db2a01ba08 | ||
|
|
9d37262d12 | ||
|
|
9fe43611d1 | ||
|
|
665bc197dc | ||
|
|
d122173103 | ||
|
|
981121799c | ||
|
|
52dfa8da1e | ||
|
|
98f215b1b5 | ||
|
|
d08f189769 | ||
|
|
b0916904bf | ||
|
|
4f98c8d9b5 | ||
|
|
66b39f6797 | ||
|
|
1364202d30 | ||
|
|
5ffb65b5ac | ||
|
|
20ae5fed81 | ||
|
|
38078e9228 | ||
|
|
4ee64a52de | ||
|
|
26420d74c2 | ||
|
|
a15be33713 | ||
|
|
dc404d76b9 | ||
|
|
873376c287 | ||
|
|
53d829cfc1 | ||
|
|
ef8486ea1a | ||
|
|
1a267aa708 | ||
|
|
3d6536d1f5 | ||
|
|
f656c2024d | ||
|
|
ebdcccbf41 | ||
|
|
0f2901c60c | ||
|
|
3440eb0c10 | ||
|
|
8b18ee6f50 | ||
|
|
ba48cc35d8 | ||
|
|
7b58d9c18c | ||
|
|
0ae66f457a | ||
|
|
f4bfa1b2fd | ||
|
|
10aa70a53b | ||
|
|
9bfda55000 | ||
|
|
b5f4fa03d2 | ||
|
|
0c0f767688 | ||
|
|
2668b04901 | ||
|
|
cd552231e9 | ||
|
|
f47648c71f | ||
|
|
9a18d77005 | ||
|
|
b4d09d1c30 | ||
|
|
8cbacdacf7 | ||
|
|
e16b33745e | ||
|
|
139011e1ae | ||
|
|
35122154ef | ||
|
|
5468365b85 | ||
|
|
fb7c227814 | ||
|
|
21e172a75a | ||
|
|
d26749fd39 | ||
|
|
0918a7c79a | ||
|
|
d6d9fbd8e7 | ||
|
|
0288fd1ec9 | ||
|
|
062c4a0342 | ||
|
|
4d7369ad5e | ||
|
|
c51b472694 | ||
|
|
dd989be887 | ||
|
|
8951a2ce23 | ||
|
|
2c07837852 | ||
|
|
dd73cc1ccf | ||
|
|
6090330d7a | ||
|
|
2203d3364d | ||
|
|
e1d0f6002b | ||
|
|
d4cc4c5745 | ||
|
|
f5b841e8a6 | ||
|
|
fee5aad2fa | ||
|
|
6100748511 | ||
|
|
a73c711188 | ||
|
|
adb6785931 | ||
|
|
17c605502c | ||
|
|
95e36d1145 | ||
|
|
29b0d24745 | ||
|
|
667a6e6ef9 | ||
|
|
f45c9edf2b | ||
|
|
1274f2ba07 | ||
|
|
3f233e4644 | ||
|
|
b19229b272 | ||
|
|
03799eba9f | ||
|
|
f0924d9adf | ||
|
|
ac4d90f1f6 | ||
|
|
80d6655709 | ||
|
|
deb12102f6 | ||
|
|
c5d3042bbf | ||
|
|
5f13019d05 | ||
|
|
773b028865 | ||
|
|
2c90bca134 | ||
|
|
948bbe8745 | ||
|
|
99e058cbe7 | ||
|
|
86e74c1020 | ||
|
|
166f3202e1 | ||
|
|
9951da5710 | ||
|
|
507ee20f3b | ||
|
|
7a1b219c2c | ||
|
|
0ac9a4b3df | ||
|
|
202959898d | ||
|
|
6db7285f70 | ||
|
|
8537ddbb5a | ||
|
|
2ab2497126 | ||
|
|
c8027a17c1 | ||
|
|
8177b74a52 | ||
|
|
a95832ff3b | ||
|
|
27c30d1b65 | ||
|
|
6d1e14ea3e | ||
|
|
4792517515 | ||
|
|
77ac156060 | ||
|
|
f36f483d1e | ||
|
|
f898120829 | ||
|
|
77200d7eb4 | ||
|
|
1582fb1f88 | ||
|
|
94627df5de | ||
|
|
761ef296ad | ||
|
|
a300dba2df | ||
|
|
ee92438ba8 | ||
|
|
facb795f88 | ||
|
|
0f4bcefcff | ||
|
|
524f7f0919 | ||
|
|
173d24b3fb | ||
|
|
46b275c3ce | ||
|
|
d4f85484df | ||
|
|
d230ea4001 | ||
|
|
50825bc61a | ||
|
|
9eee2e3e3e | ||
|
|
8c0971425f | ||
|
|
e42a5a831a | ||
|
|
5feb736939 | ||
|
|
9fb015f72c | ||
|
|
0fe5887af8 | ||
|
|
8af872e289 | ||
|
|
824cba7152 | ||
|
|
45dba8805c | ||
|
|
5b3cba2e70 | ||
|
|
bcf416e71f | ||
|
|
ceabcdd6c3 | ||
|
|
5396c718ef | ||
|
|
1f5146e7a0 | ||
|
|
9d74b55d48 | ||
|
|
56f0281ab1 | ||
|
|
3133616b67 | ||
|
|
7c2d97d939 | ||
|
|
049f34d339 | ||
|
|
a9de8a6596 | ||
|
|
e0aabe08bf | ||
|
|
a495b05d6b | ||
|
|
87853bdd78 | ||
|
|
25a1b89156 | ||
|
|
9c641fd778 | ||
|
|
3ba0b62783 | ||
|
|
8e5afa0d8a | ||
|
|
ed6bdd7bdc | ||
|
|
3b9a737ac4 | ||
|
|
15a0d7a801 | ||
|
|
8521e6d1e7 | ||
|
|
21e006319a | ||
|
|
33e2a1b52c | ||
|
|
1a7ed9e137 | ||
|
|
efa1914be5 | ||
|
|
1f8e823593 | ||
|
|
b17be021db | ||
|
|
1358a8302f | ||
|
|
39998d5cc5 | ||
|
|
259f39f2d2 | ||
|
|
d386081c4c | ||
|
|
9f8165e3c6 | ||
|
|
0a0e8f0d6b | ||
|
|
7a45db4d0f | ||
|
|
c785836083 | ||
|
|
09431caf1c | ||
|
|
78e5891cd3 | ||
|
|
26cc4e11f5 | ||
|
|
7fe5fc80e9 | ||
|
|
28a4947234 | ||
|
|
efb2476c15 | ||
|
|
0f60e8c758 | ||
|
|
53ac325705 | ||
|
|
96fe3f42ba | ||
|
|
cffc42484e | ||
|
|
c0f8ab3249 | ||
|
|
412396d35b | ||
|
|
86f113a24c | ||
|
|
8abc541777 | ||
|
|
565d14962d | ||
|
|
2ce9322a28 | ||
|
|
89b5c91a35 | ||
|
|
1619441f87 | ||
|
|
bff868145d | ||
|
|
36e5e650d4 | ||
|
|
5e4f7feff8 | ||
|
|
5609711d47 | ||
|
|
bf9e14f581 | ||
|
|
c092b027a6 | ||
|
|
ec96d929a0 | ||
|
|
7a2bf28005 | ||
|
|
e05b3633f2 | ||
|
|
6cf9790fac | ||
|
|
529161b711 | ||
|
|
6145f2d4a8 | ||
|
|
851347fccc | ||
|
|
184ba60df4 | ||
|
|
fe467640ca | ||
|
|
15d25d4fdf | ||
|
|
15030599fd | ||
|
|
35fdb4058d | ||
|
|
7cc3544f74 | ||
|
|
205d4fe29f | ||
|
|
71a15f9d44 | ||
|
|
9853bfee46 | ||
|
|
0c93d22720 | ||
|
|
36ed70ad93 | ||
|
|
76e87173e1 | ||
|
|
0215e708ad | ||
|
|
938a33f236 | ||
|
|
7c90d1e8cc | ||
|
|
afcd362f67 | ||
|
|
fb38dca1db | ||
|
|
a262d41828 | ||
|
|
bdc1d558f5 | ||
|
|
6580095002 | ||
|
|
4eb5c8a0db | ||
|
|
b35a2f54bb | ||
|
|
2e2521a4cf | ||
|
|
0c0999e9a8 | ||
|
|
0001457612 | ||
|
|
fb842cd5f5 | ||
|
|
726fc33fe4 | ||
|
|
30a97f5f52 | ||
|
|
69fecbb2c0 | ||
|
|
3d33d90d57 | ||
|
|
52f70f6901 | ||
|
|
f173469f98 | ||
|
|
c978baf36a | ||
|
|
dac2838ecc | ||
|
|
782e3936b8 | ||
|
|
56d652d058 | ||
|
|
e99a03dbcb | ||
|
|
1d9a11f8ea | ||
|
|
c25bb6404f | ||
|
|
375faf8cd8 | ||
|
|
38aef0d8b4 | ||
|
|
d8d2060b39 | ||
|
|
edad4d2ee6 | ||
|
|
f20163ef7d | ||
|
|
ab575372d7 | ||
|
|
ea44eaac1c | ||
|
|
93337f499e | ||
|
|
e7428663d2 | ||
|
|
3a4871e975 | ||
|
|
6473c9f39b | ||
|
|
9e28b5311c | ||
|
|
064eacd6bc | ||
|
|
70124972c2 | ||
|
|
e13ad1bbaf | ||
|
|
01087c0ff4 | ||
|
|
f7b593e958 | ||
|
|
7f577e8885 | ||
|
|
ef68d1785f | ||
|
|
4e7d2e01fa | ||
|
|
e5303a2180 | ||
|
|
fce2469f41 | ||
|
|
28133f8567 | ||
|
|
0aa953dc4e | ||
|
|
dc3470a9a8 | ||
|
|
56f33cf96a | ||
|
|
dd88965d3a | ||
|
|
ba0d471981 | ||
|
|
222c44b6f1 | ||
|
|
670fe1f3e5 | ||
|
|
bc12ac1ee6 | ||
|
|
330cc0218b | ||
|
|
da573ef717 | ||
|
|
821a0720c4 | ||
|
|
1fa48f7a89 | ||
|
|
605d4db4c4 | ||
|
|
c33d67949b | ||
|
|
fc9f9980b8 | ||
|
|
4f26b13d82 | ||
|
|
c1cf2b743d | ||
|
|
6e72430a58 | ||
|
|
45262be011 | ||
|
|
aaa8c5e950 | ||
|
|
3786e6cff3 | ||
|
|
27d6407493 | ||
|
|
44e7fdac4b | ||
|
|
548272fb3a | ||
|
|
23991f72da | ||
|
|
88cab4825c | ||
|
|
4d03cdce3b | ||
|
|
6677dd2104 | ||
|
|
a06bba7379 | ||
|
|
f04304d24b | ||
|
|
75571a47de | ||
|
|
bebd38c6d8 | ||
|
|
a36cd3cbd1 | ||
|
|
af3bbc21d2 | ||
|
|
e73c255612 | ||
|
|
02e7c4f3ce | ||
|
|
1b54516b45 | ||
|
|
a5961f6847 | ||
|
|
6aee2fc7b9 | ||
|
|
cd6c681ba5 | ||
|
|
95ff528e60 | ||
|
|
6b40b0fb4a | ||
|
|
821c554e41 | ||
|
|
6e1ad5207d | ||
|
|
8497e86800 | ||
|
|
d11c1bfe51 | ||
|
|
4feb1e2121 | ||
|
|
afe7cbef91 | ||
|
|
f4cd733311 | ||
|
|
4d7d0f04f3 | ||
|
|
988ab7ada0 | ||
|
|
9a7d631873 | ||
|
|
887439b914 | ||
|
|
3ec00d9443 | ||
|
|
98c6a94625 | ||
|
|
b7ab366c71 | ||
|
|
f64f45ac26 | ||
|
|
c879eb6811 | ||
|
|
cc168b137f | ||
|
|
04614f536c | ||
|
|
c0d04a7bcd | ||
|
|
6346c5ed81 | ||
|
|
8d38725306 | ||
|
|
23e3bc56fb | ||
|
|
997ed7079a | ||
|
|
af2a29ce3b | ||
|
|
6aeed144ef | ||
|
|
e6a455f31d | ||
|
|
f300daad39 | ||
|
|
487ad4e4bb | ||
|
|
d97fc2fc6e | ||
|
|
4d7a424c2e | ||
|
|
bbe218a6f1 | ||
|
|
571195b7b0 | ||
|
|
9df72bb5a2 | ||
|
|
3c1339cc4f | ||
|
|
bdbbade620 | ||
|
|
961a1a9366 | ||
|
|
198cf16837 | ||
|
|
6fde8438d1 | ||
|
|
8116c6a103 | ||
|
|
5c685153dc | ||
|
|
d0d2bba614 | ||
|
|
4cab84fad9 | ||
|
|
1009af83d0 | ||
|
|
084c2e5bc7 | ||
|
|
95af39148f | ||
|
|
d1a61b3d0e | ||
|
|
4a98cfa62b | ||
|
|
348a75d216 | ||
|
|
83081c87bd | ||
|
|
6e21cc5b2a | ||
|
|
d62ea4e223 | ||
|
|
148eaa5e58 | ||
|
|
eed3cf5d0f | ||
|
|
b656f3c7e0 | ||
|
|
4470a5f156 | ||
|
|
48796c5364 | ||
|
|
eaecc13cae | ||
|
|
fdd660fb75 | ||
|
|
42f0252c4d | ||
|
|
af10306b33 | ||
|
|
d8b2b334d7 | ||
|
|
d6e8a34984 | ||
|
|
df0181940b | ||
|
|
f91255d692 | ||
|
|
d1986de1e3 | ||
|
|
562dfe7b81 | ||
|
|
8ba2dc1fa1 | ||
|
|
4495e93f8d | ||
|
|
66ca9add3a | ||
|
|
2826f1918e | ||
|
|
164a6b97ce | ||
|
|
81ca87b7da | ||
|
|
2c69d4871d | ||
|
|
a59a2f7234 | ||
|
|
14343e8e4d | ||
|
|
7b34344626 | ||
|
|
160c9708a5 | ||
|
|
8ccce069d9 | ||
|
|
78f91ffa91 | ||
|
|
de481a7eba | ||
|
|
87bca169c5 | ||
|
|
87d940c46d | ||
|
|
a99aa217d0 | ||
|
|
373af5ba65 | ||
|
|
9604cca68d | ||
|
|
781c77085d | ||
|
|
6faed76833 | ||
|
|
2daca679b3 | ||
|
|
e069503dff | ||
|
|
f2283b575f | ||
|
|
e56e670300 | ||
|
|
376c79ef6f | ||
|
|
8e78d9ff48 | ||
|
|
30cf3a19fb | ||
|
|
b56035d4f5 | ||
|
|
6c8aae11b7 | ||
|
|
a544431ed7 | ||
|
|
7d974b2130 | ||
|
|
24c3b45b46 | ||
|
|
d1594e5123 | ||
|
|
4858931592 | ||
|
|
4a87ab74f4 | ||
|
|
993844d600 | ||
|
|
31aa0de426 | ||
|
|
63203cd91a | ||
|
|
fa67569093 | ||
|
|
a40d1bbf76 | ||
|
|
d3c6ddb87f | ||
|
|
e478f6626b | ||
|
|
965e15fe91 | ||
|
|
4901089408 | ||
|
|
5a760cb1b2 | ||
|
|
b018042130 | ||
|
|
db279ee237 | ||
|
|
c5a834dc98 | ||
|
|
a732733950 | ||
|
|
ea633e9e7c | ||
|
|
711e943c25 | ||
|
|
3e73f43272 | ||
|
|
25e3453321 | ||
|
|
8920f5c10c | ||
|
|
38c4bd3760 | ||
|
|
4ea74101db | ||
|
|
ee0ef16487 | ||
|
|
70919803a8 | ||
|
|
c927cd34b2 | ||
|
|
e37f0c0db0 | ||
|
|
90184081cf | ||
|
|
070ec91566 | ||
|
|
6e52194ab0 | ||
|
|
761def8fb7 | ||
|
|
295e23aac4 | ||
|
|
561af0a0f5 | ||
|
|
87df2f66ec | ||
|
|
dcd0bd1de7 | ||
|
|
776bfea402 | ||
|
|
d1e52c05d6 | ||
|
|
02047a6e99 | ||
|
|
fa22b98dc4 | ||
|
|
664e4deb6a | ||
|
|
157dad0026 | ||
|
|
082f7d703e | ||
|
|
03e53ceaf2 | ||
|
|
147dd61758 | ||
|
|
cf9b5ca5c6 | ||
|
|
9ada2f554a | ||
|
|
19f598419e | ||
|
|
dcc0ab19c2 | ||
|
|
6e649f3f45 | ||
|
|
6e8d2ca79c | ||
|
|
b0abe5a5ba | ||
|
|
038687b801 | ||
|
|
e31e80961a | ||
|
|
c7464a59b3 | ||
|
|
966501f5da | ||
|
|
22e9d84074 | ||
|
|
d9fa6fbac8 | ||
|
|
1994240899 | ||
|
|
562fd8ce3c | ||
|
|
94bb98edac | ||
|
|
1dc0230aba | ||
|
|
2836ae66c7 | ||
|
|
c42179aff4 | ||
|
|
66a8ebe014 | ||
|
|
2de82aa3c1 | ||
|
|
d37e46cc48 | ||
|
|
c54bb8a42a | ||
|
|
22e39538c7 | ||
|
|
a297756ff0 | ||
|
|
38c325d469 | ||
|
|
8cd1efd609 | ||
|
|
9fee765d35 | ||
|
|
2d338b218e | ||
|
|
d4e90e8857 | ||
|
|
b9ad044eef | ||
|
|
5a07dce93a | ||
|
|
40aca079eb | ||
|
|
255af9e110 | ||
|
|
70eba976ae | ||
|
|
9ed0c5c86d | ||
|
|
c62f36ef87 | ||
|
|
69aa041218 | ||
|
|
36db62728b | ||
|
|
bbe69fd129 | ||
|
|
646117c213 | ||
|
|
0da3e12e36 | ||
|
|
2ab11655db | ||
|
|
bfca3766b6 | ||
|
|
a8759c9196 | ||
|
|
92f7d805d0 | ||
|
|
b3d991449f | ||
|
|
15c939c3d7 | ||
|
|
4346001c94 | ||
|
|
59d184e2db | ||
|
|
60c45b5035 | ||
|
|
56b9b23988 | ||
|
|
297ec6dd1f | ||
|
|
195c7d5142 | ||
|
|
a3cb1172a1 | ||
|
|
47b948c866 | ||
|
|
402ac5b418 | ||
|
|
d1bc46c355 | ||
|
|
e2d0126415 | ||
|
|
751e8e7f90 | ||
|
|
fa973f734b | ||
|
|
f74c33dc02 | ||
|
|
8bf1386b78 | ||
|
|
1e510f66ef | ||
|
|
2b7c2f6a21 | ||
|
|
1691ce2764 | ||
|
|
b84f212112 | ||
|
|
f245fa808c | ||
|
|
6b3dfd0891 | ||
|
|
1b3ac82d7e | ||
|
|
5d6f6e2073 | ||
|
|
6c9bebec24 | ||
|
|
b05d4535f8 | ||
|
|
72627268dc | ||
|
|
a04ce55544 | ||
|
|
84ccf4399c | ||
|
|
eb992d3523 | ||
|
|
1c837822fc | ||
|
|
54866864ad | ||
|
|
aef24c0c54 | ||
|
|
e379af9751 | ||
|
|
3d1a5acafb | ||
|
|
49965f8115 | ||
|
|
2886151e64 | ||
|
|
e7a255ca16 | ||
|
|
cc24a3d2f0 | ||
|
|
af404a5b5e | ||
|
|
4083883ec4 | ||
|
|
45a07f4d85 | ||
|
|
92d9b980b5 | ||
|
|
04fab0c37a | ||
|
|
5118b61f60 | ||
|
|
7b0bf9f3c2 | ||
|
|
63eb22fc7e | ||
|
|
45666ebfc5 | ||
|
|
e9c5b96344 | ||
|
|
f19a09b390 | ||
|
|
63dfb17bbc | ||
|
|
e0ee80b1a9 | ||
|
|
c1a21ce5a4 | ||
|
|
5f4571b0d0 | ||
|
|
dfe72d7de7 | ||
|
|
7789692678 | ||
|
|
641d4356c4 | ||
|
|
12e1a30d2f | ||
|
|
12cfdf1b5a | ||
|
|
4cc368da82 | ||
|
|
885bde51f1 | ||
|
|
66f8591fcd | ||
|
|
2ecafd5d5e | ||
|
|
b09351c517 | ||
|
|
8e34a02811 | ||
|
|
b4a583b951 | ||
|
|
4f73d7232f | ||
|
|
c6837d927f | ||
|
|
aefe4fa81c | ||
|
|
6746f4d5ba | ||
|
|
965dabadf9 | ||
|
|
ba5daece99 | ||
|
|
40724e120e | ||
|
|
402f1f1b41 | ||
|
|
2708aabddf | ||
|
|
eeedfc48de | ||
|
|
d501e9009b | ||
|
|
c1f33a23d3 | ||
|
|
94ce784f33 | ||
|
|
72bd579cf4 | ||
|
|
f07ea0a26a | ||
|
|
90404c287e | ||
|
|
9fefd4f283 | ||
|
|
7f1e517754 | ||
|
|
32164680ab | ||
|
|
c340520bcc | ||
|
|
dde399f765 | ||
|
|
77b647dfb0 | ||
|
|
c72a556492 | ||
|
|
f14b414b9c | ||
|
|
5276bfd473 | ||
|
|
380aadd76a | ||
|
|
1a4916ff03 | ||
|
|
de5bee4353 | ||
|
|
6ab7cec36c | ||
|
|
4d328a1e46 | ||
|
|
aace091329 | ||
|
|
28183711c4 | ||
|
|
0f627bd44e | ||
|
|
8ec130d3c0 | ||
|
|
0dd4e6d360 | ||
|
|
eeb6479440 | ||
|
|
50fa2c0ddf | ||
|
|
1e70f00c29 | ||
|
|
1b25c415b0 | ||
|
|
c23f663408 | ||
|
|
d22871b265 | ||
|
|
0eec42ce4a | ||
|
|
ab931b6af2 | ||
|
|
1c98544380 | ||
|
|
17dfbabb39 | ||
|
|
1392c8e619 | ||
|
|
df2a319201 | ||
|
|
bceccba6eb | ||
|
|
74c12e1dec | ||
|
|
1c2a4981ac | ||
|
|
e5acabc452 | ||
|
|
f92b13fbf7 | ||
|
|
64be6e1cf4 | ||
|
|
ea3f0e8567 | ||
|
|
e127f33e3a | ||
|
|
4f0276c062 | ||
|
|
60ca284e3a | ||
|
|
dab06f8672 | ||
|
|
fb6dc5058f | ||
|
|
02df3853f7 | ||
|
|
6f38e10cab | ||
|
|
397d1c2d09 | ||
|
|
257f5ab3da | ||
|
|
d15cccdb7d | ||
|
|
2f60bdf9d0 | ||
|
|
89d3b4e805 | ||
|
|
2e09ddd900 | ||
|
|
9641dde54f | ||
|
|
1dc2257156 | ||
|
|
e573801517 | ||
|
|
013061803f | ||
|
|
589627852f | ||
|
|
6ed2bcd605 | ||
|
|
501953a6da | ||
|
|
d7ba2b2b62 | ||
|
|
7a778ba317 | ||
|
|
e0ecb7a2d8 | ||
|
|
f11c8ee5c6 | ||
|
|
a4fca31e7d | ||
|
|
ee42f9898f | ||
|
|
788eea8d80 | ||
|
|
6e976e7d7c | ||
|
|
2b961c128a | ||
|
|
de9dbbbb3d | ||
|
|
a3ba91c2a3 | ||
|
|
1714601ce4 | ||
|
|
9a126ce717 | ||
|
|
1b55a48757 | ||
|
|
7aa4efef8d | ||
|
|
9086f51d29 | ||
|
|
215364958e | ||
|
|
556ee1165d | ||
|
|
c6229a6ca6 | ||
|
|
438e65036b | ||
|
|
a2a9bfc933 | ||
|
|
516e368df0 | ||
|
|
816b07e868 | ||
|
|
7dd3e081c7 | ||
|
|
08fcb5362e | ||
|
|
ee2960b9b0 | ||
|
|
ac9d1f3bfa | ||
|
|
ad38d5b92e | ||
|
|
e403574c34 | ||
|
|
8af6d70685 | ||
|
|
49cabc1bfd | ||
|
|
b0c8cff6a2 | ||
|
|
d59cddcc6c | ||
|
|
ef35a0cc18 | ||
|
|
f1d429cc96 | ||
|
|
06d54b2e72 | ||
|
|
b1ad00313f | ||
|
|
9a862bc75a | ||
|
|
1f58856299 | ||
|
|
f3f6cd260a | ||
|
|
5a95b96631 | ||
|
|
3e58453693 | ||
|
|
dba950fcf7 | ||
|
|
b5053f3711 | ||
|
|
0ead416574 | ||
|
|
beac5ed7e9 | ||
|
|
38959d6446 | ||
|
|
eec0abd1e7 | ||
|
|
fb9e82ed0e | ||
|
|
587f2a002f | ||
|
|
a4fc8aee6a | ||
|
|
77dc2c47d4 | ||
|
|
be0522d567 | ||
|
|
cb366e0270 | ||
|
|
bfad448f82 | ||
|
|
30034f057b | ||
|
|
7ba5e67050 | ||
|
|
7aa7fe083f | ||
|
|
e238b94d1b | ||
|
|
5a2fba607e | ||
|
|
92ad842ab8 | ||
|
|
678e08ca0f | ||
|
|
47ae2ee9f6 | ||
|
|
2274be16d8 | ||
|
|
413f2f6db6 | ||
|
|
e2a8f85a2f | ||
|
|
85e77c1958 | ||
|
|
6f980490bd | ||
|
|
740cacc49f | ||
|
|
33cfdec5a6 | ||
|
|
6d00337db3 | ||
|
|
6140f4af9d | ||
|
|
cdda791c84 | ||
|
|
e8a49b3e8e | ||
|
|
fb23bf73a3 | ||
|
|
3e5bb713eb | ||
|
|
ffa5bc43fe | ||
|
|
6e1ba161b1 | ||
|
|
e5ae145df2 | ||
|
|
8154222ef1 | ||
|
|
cc51c50f84 | ||
|
|
a7f694386a | ||
|
|
76760fe434 | ||
|
|
9275f3460f | ||
|
|
9403bc8e49 | ||
|
|
ac7bcc81ee | ||
|
|
9ce7f63d85 | ||
|
|
a91b6d4564 | ||
|
|
a171f6e4ac | ||
|
|
ccd32cb7d6 | ||
|
|
e61e08c2ca | ||
|
|
1884223a2e | ||
|
|
c244132476 | ||
|
|
01d3da90ae | ||
|
|
4a99723129 | ||
|
|
100af304b7 | ||
|
|
d6dd1fe8ac | ||
|
|
acc00e67ea | ||
|
|
c002e8e24f | ||
|
|
a29097d9e0 | ||
|
|
4f06e454a9 | ||
|
|
a691dfd6ed | ||
|
|
ecfce5091e | ||
|
|
210b5f54d5 | ||
|
|
402bac02a6 | ||
|
|
a26b4ca12f | ||
|
|
eb1154235a | ||
|
|
40a71e2aae | ||
|
|
2460502be8 | ||
|
|
8651bbec8e | ||
|
|
7e3a207d63 | ||
|
|
0ee1f9c1c6 | ||
|
|
fde7ec107a | ||
|
|
9bf1ec2f7c | ||
|
|
0c08b29e48 | ||
|
|
ab8a6d9e88 | ||
|
|
879356fad2 | ||
|
|
0e2da7f1d4 | ||
|
|
b9ea9ca2db | ||
|
|
83c0ea6ab2 | ||
|
|
b1048ddfa3 | ||
|
|
3d13ac9f12 | ||
|
|
af2f44ca5a | ||
|
|
f86b497fa8 | ||
|
|
d167842e36 | ||
|
|
8e691d5c5f | ||
|
|
5daabd2548 | ||
|
|
0962b66928 | ||
|
|
56af60ceaf | ||
|
|
2f5bb14d33 | ||
|
|
5b0197300f | ||
|
|
852484beb2 | ||
|
|
67fb1e9be4 | ||
|
|
b30b187b4c | ||
|
|
b3a73f2da1 | ||
|
|
0ecf93553c | ||
|
|
10c1203c87 | ||
|
|
c39f8bd6af | ||
|
|
f502ee0c52 | ||
|
|
f174caccbc | ||
|
|
bfe5edd35d | ||
|
|
a4eb390a04 | ||
|
|
b55f47ec9a | ||
|
|
94dfc68cca | ||
|
|
3fd83ca400 | ||
|
|
91225d808f | ||
|
|
c344c07579 | ||
|
|
abcda0bcfa | ||
|
|
4fc4e0f637 | ||
|
|
5b5978952a | ||
|
|
1164ea5cf1 | ||
|
|
ee9199b4e0 | ||
|
|
197524a5fc | ||
|
|
a6fadaee67 | ||
|
|
19cb6110bd | ||
|
|
09d94a0712 | ||
|
|
e564827be7 | ||
|
|
ab6e230f10 | ||
|
|
dd75c1af1e | ||
|
|
ddbf9d374e | ||
|
|
137b00a14a | ||
|
|
f0a9796683 | ||
|
|
30b5c6c048 | ||
|
|
e08d840ba1 | ||
|
|
d66729adf3 | ||
|
|
1bec1c0934 | ||
|
|
7fbe124fe0 | ||
|
|
8aeef40b80 | ||
|
|
2135cb141d | ||
|
|
1b5648c922 | ||
|
|
05a53778ea | ||
|
|
27a04b29f5 | ||
|
|
3a5370ddf1 | ||
|
|
424dc50a36 | ||
|
|
8827f9c978 | ||
|
|
523c4dfcca | ||
|
|
4d410972d4 | ||
|
|
3ef8f3f31a | ||
|
|
5b4c46fe42 | ||
|
|
f059c27bf0 | ||
|
|
877d8efa8e | ||
|
|
2bf4276bda | ||
|
|
4522877b43 | ||
|
|
523173e27e | ||
|
|
6009507209 | ||
|
|
21ad7a3d3f | ||
|
|
ef61981041 | ||
|
|
7f84fa0c80 | ||
|
|
8e0296468e | ||
|
|
d5849b0160 | ||
|
|
2d30275889 | ||
|
|
254bce5dc2 | ||
|
|
d33de00eac | ||
|
|
44d835947b | ||
|
|
e5139780ea | ||
|
|
ba723db9d7 | ||
|
|
ad55fa2d79 | ||
|
|
3456a24749 | ||
|
|
9b3f9ee4ff | ||
|
|
f0d2af2651 | ||
|
|
69e70889be | ||
|
|
d087bdfd38 | ||
|
|
b5f04a3ebc | ||
|
|
a16b8366cd | ||
|
|
10b97fc967 | ||
|
|
7986227ea2 | ||
|
|
63308441ec | ||
|
|
3abb4d7dd6 | ||
|
|
f483d1ed9d | ||
|
|
322824567f | ||
|
|
9b2e61f9b3 | ||
|
|
1cb4d19c3c | ||
|
|
2b135ed3c2 | ||
|
|
aea1c8fea6 | ||
|
|
8731bf9ac6 | ||
|
|
e92a7fdf7d | ||
|
|
2ce0b5a1ab | ||
|
|
63e3f5711e | ||
|
|
01253f1cdf | ||
|
|
7a544489ae | ||
|
|
5e693b2530 | ||
|
|
8ff3a1675d | ||
|
|
b70f4e8528 | ||
|
|
fc793e7b1d | ||
|
|
33bb6b6d85 | ||
|
|
2d4ee13a46 | ||
|
|
42becb9e41 | ||
|
|
e1aea08f81 | ||
|
|
32392b8650 | ||
|
|
f1b5999983 | ||
|
|
72fa53ad3d | ||
|
|
59ccad5b62 | ||
|
|
99d25bd0db | ||
|
|
63f91c2f88 | ||
|
|
7d5f4fdfc7 | ||
|
|
a9a4c1c692 | ||
|
|
3b2e93f1a0 | ||
|
|
9f2c5a6190 | ||
|
|
3af5194442 | ||
|
|
fd484ee264 | ||
|
|
829a26d70b | ||
|
|
f5e155e54d | ||
|
|
9ceae7c5c2 | ||
|
|
3096364352 | ||
|
|
2c621eaadc | ||
|
|
45a757832a | ||
|
|
526fa07326 | ||
|
|
2bc8dfbfe7 | ||
|
|
8fbce0288e | ||
|
|
e4c173771f | ||
|
|
8c6e5277ec | ||
|
|
43e72b8ac8 | ||
|
|
1813f67230 | ||
|
|
f5ea55031c | ||
|
|
32cbe7a049 | ||
|
|
2ac33089b1 | ||
|
|
877ecbc864 | ||
|
|
1b90adc1aa | ||
|
|
37edd06027 | ||
|
|
e83b468ade | ||
|
|
58a04b9813 | ||
|
|
41a6ff29c8 | ||
|
|
a0f87499e8 | ||
|
|
7faad5fb44 | ||
|
|
91e5a5e02e | ||
|
|
c9cc43dc5f | ||
|
|
42ead6b34d | ||
|
|
b58438bdd4 | ||
|
|
622e9c5e1e | ||
|
|
20bb5bf648 | ||
|
|
6d4bf3dc75 | ||
|
|
5972272de2 | ||
|
|
b70fa61f34 | ||
|
|
9603864924 | ||
|
|
3c1c900b5b | ||
|
|
a7d6b91ad3 | ||
|
|
03dbf7f468 | ||
|
|
8040ed5430 | ||
|
|
b63835757f | ||
|
|
393ebae8aa | ||
|
|
5808e2073f | ||
|
|
b49523c06d | ||
|
|
aa8d872466 | ||
|
|
1bf6c8a9fa | ||
|
|
7762ee2f9e | ||
|
|
db17536266 | ||
|
|
c57f880be7 | ||
|
|
c77c6f172f | ||
|
|
4fca40fc69 | ||
|
|
6a48d86f2c | ||
|
|
c7bfba103e | ||
|
|
f971fcd110 | ||
|
|
6b85669812 | ||
|
|
c23c374b17 | ||
|
|
6242c4a8ae | ||
|
|
8f6bf9ff45 | ||
|
|
e0abee7f9f | ||
|
|
087cf7e5ed | ||
|
|
ded55c360b | ||
|
|
69fc2c3be8 | ||
|
|
5d2528bff6 | ||
|
|
d6670ba198 | ||
|
|
a749f83da3 | ||
|
|
236738c708 | ||
|
|
c8d9a2a268 | ||
|
|
94fa671522 | ||
|
|
a9b942e913 | ||
|
|
62d2dd316b | ||
|
|
56bc5cf755 | ||
|
|
76b30d8d10 | ||
|
|
63e6c08fdd | ||
|
|
ad75ba49a4 | ||
|
|
8f20efc739 | ||
|
|
a5feb6ef83 | ||
|
|
ffcc2a49d8 | ||
|
|
74d9eac588 | ||
|
|
f8d9338102 | ||
|
|
2ab24fa08b | ||
|
|
199bb85d88 | ||
|
|
390ffb65f9 | ||
|
|
90f6f537fe | ||
|
|
7c910e46be | ||
|
|
d83b2d5e36 | ||
|
|
ed8454c202 | ||
|
|
86dcec8aea | ||
|
|
68a749ee16 | ||
|
|
61e549c80c | ||
|
|
f9c1820740 | ||
|
|
19aa78a922 | ||
|
|
354d66a5ac | ||
|
|
58a677ffb5 | ||
|
|
b4c1e47ab4 | ||
|
|
644d027a87 | ||
|
|
c2e1757fb6 | ||
|
|
5732833da2 | ||
|
|
223c7b3c56 | ||
|
|
617e0ebe54 | ||
|
|
460a2c5617 | ||
|
|
e200b2a502 | ||
|
|
fa36931064 | ||
|
|
e19f087931 | ||
|
|
a3912d9123 | ||
|
|
bcbff8d99b | ||
|
|
5d9fb1fff9 | ||
|
|
067f5920bb | ||
|
|
56ccd16730 | ||
|
|
6f17e80461 | ||
|
|
a2da93b681 | ||
|
|
510ce650a6 | ||
|
|
af90a14cb5 | ||
|
|
99fae1f9a8 | ||
|
|
abd51e81a3 | ||
|
|
908fbd8ca4 | ||
|
|
75a24f5113 | ||
|
|
2fb743992f | ||
|
|
4c47748dd7 | ||
|
|
a7d5641d00 | ||
|
|
4603bdb509 | ||
|
|
75e651626d | ||
|
|
61c2e2b439 | ||
|
|
73e9f52793 | ||
|
|
37b48c56d5 | ||
|
|
6cf7644e02 | ||
|
|
0f5a4434ff | ||
|
|
a1dee148b4 | ||
|
|
9e3c6f5bc1 | ||
|
|
86ab605bd4 | ||
|
|
0429949de5 | ||
|
|
d021bb8188 | ||
|
|
f775341fd5 | ||
|
|
c8eb5df1b2 | ||
|
|
cb613c0691 | ||
|
|
b0cbc7f757 | ||
|
|
398380d390 | ||
|
|
0260aff441 | ||
|
|
36e24fa1fb | ||
|
|
94318a6925 | ||
|
|
08c4d4bdfe | ||
|
|
17f3717871 | ||
|
|
82eebc93bf | ||
|
|
b9246e04b2 | ||
|
|
ef65617258 | ||
|
|
920e1c6c86 | ||
|
|
a7bc09d487 | ||
|
|
27d6e7cc81 | ||
|
|
56e4c8172b | ||
|
|
33d13ddb1d | ||
|
|
330b148ca9 | ||
|
|
b075f1252c | ||
|
|
4857269d12 | ||
|
|
bd93126f4e | ||
|
|
9af1c71daf | ||
|
|
ed97fcc108 | ||
|
|
0ce198ab8c | ||
|
|
306f10b420 | ||
|
|
8f85b0e194 | ||
|
|
8fabffe18c | ||
|
|
f67706c28e | ||
|
|
d51bd3f445 | ||
|
|
3de1275afe | ||
|
|
0caea22f08 | ||
|
|
32e7af4610 | ||
|
|
5e71003558 | ||
|
|
02065c3cdc | ||
|
|
62203a45f8 | ||
|
|
54d98a6b2d | ||
|
|
fc77e04b54 | ||
|
|
d892a0cbd2 | ||
|
|
a20a4da412 | ||
|
|
bedc28f517 | ||
|
|
31e865e823 | ||
|
|
7e55c0c786 | ||
|
|
f1635c3eff | ||
|
|
8fa18d0da2 | ||
|
|
3f58e5a2ee | ||
|
|
8e4a757200 | ||
|
|
f53d509930 | ||
|
|
f8b44b68d7 | ||
|
|
f0f3e55cc6 | ||
|
|
f669b5f56f | ||
|
|
df1920d75c | ||
|
|
409fa216b8 | ||
|
|
df652d2ec7 | ||
|
|
bb24701f36 | ||
|
|
690fa6e206 | ||
|
|
05b3fa0bb6 | ||
|
|
0308ee953a | ||
|
|
bc756637da | ||
|
|
afc97d566c | ||
|
|
52599dca63 | ||
|
|
902ed48243 | ||
|
|
14bea5e1b4 | ||
|
|
557440db0c | ||
|
|
02c2023dc4 | ||
|
|
bb04a58bdc | ||
|
|
73f72c54c1 | ||
|
|
1d10370341 | ||
|
|
4f8c503a04 | ||
|
|
291818c33d | ||
|
|
46b799a5b7 | ||
|
|
3d69f70d66 | ||
|
|
6fb3bc5b03 | ||
|
|
c8c7e02bc8 | ||
|
|
e5555b579d | ||
|
|
9e3e40c3a9 | ||
|
|
c1b4f34a70 | ||
|
|
5fa77a36de | ||
|
|
adc8605b06 | ||
|
|
ec7d9ed765 | ||
|
|
fcb711d673 | ||
|
|
1a833af2a4 | ||
|
|
ac60ee8d33 | ||
|
|
6464a2bca5 | ||
|
|
93cfbf8dd2 | ||
|
|
e22a07156f | ||
|
|
b4fba5b08d | ||
|
|
5da435e70d | ||
|
|
868a7a2249 | ||
|
|
04033911c3 | ||
|
|
0d9d01324e | ||
|
|
590273d4e8 | ||
|
|
00125c19d1 | ||
|
|
949e702c98 | ||
|
|
001769997d | ||
|
|
f05fedfc7a | ||
|
|
041bcfdf21 | ||
|
|
67a43d6099 | ||
|
|
0231a6c412 | ||
|
|
9c53810d3e | ||
|
|
06cab5a1ca | ||
|
|
62334201d1 | ||
|
|
250c98f03c | ||
|
|
ebeb935975 | ||
|
|
7c38641263 | ||
|
|
58f2b9789e | ||
|
|
4584da8895 | ||
|
|
9268e552d8 | ||
|
|
1d0ad3838b | ||
|
|
28b0960015 | ||
|
|
f37a250894 | ||
|
|
d0cbf43478 | ||
|
|
f9ab8f2a1c | ||
|
|
27752bd510 | ||
|
|
b4be5991b8 | ||
|
|
7e1f8591f6 | ||
|
|
398371d324 | ||
|
|
df8496edae | ||
|
|
8f00665268 | ||
|
|
5e851c4c98 | ||
|
|
1506ee67f4 | ||
|
|
b0ff1ff55b | ||
|
|
0b3281d01d | ||
|
|
a033300a7d | ||
|
|
ac69c02876 | ||
|
|
6974e48290 | ||
|
|
8a87db6163 | ||
|
|
ed7fc44685 | ||
|
|
9849b4082d | ||
|
|
a722064d80 | ||
|
|
9fd819e3a0 | ||
|
|
dd1be996a6 | ||
|
|
8bc7d5932b | ||
|
|
683a269991 | ||
|
|
4dca2a5a2d | ||
|
|
66afc7c057 | ||
|
|
937f2d9c8f | ||
|
|
d0a91acf28 | ||
|
|
9b85cb47ce | ||
|
|
d6f2c5d04f | ||
|
|
9f672d0b06 | ||
|
|
29649bdf07 | ||
|
|
63c84129f2 | ||
|
|
c5f71051ad | ||
|
|
74d799acea | ||
|
|
120562a7e9 | ||
|
|
1c23b28514 | ||
|
|
01df9e189e | ||
|
|
638fcd8ca0 | ||
|
|
a7c3858729 | ||
|
|
86ef048cb0 | ||
|
|
5f8b3cf989 | ||
|
|
10e3f306dd | ||
|
|
8a7f1e03c7 | ||
|
|
f183201f6f | ||
|
|
0471c17f12 | ||
|
|
f1fa315342 | ||
|
|
75fd846399 | ||
|
|
d7cbd46653 | ||
|
|
83320a3e07 | ||
|
|
4f4a04738f | ||
|
|
76f11cb73c | ||
|
|
d08e1dab76 | ||
|
|
07faa663b4 | ||
|
|
a675c35876 | ||
|
|
f049ab3432 | ||
|
|
60a5d271f4 | ||
|
|
bac4610580 | ||
|
|
48eb4757f8 | ||
|
|
2f4efb28d6 | ||
|
|
9d0037bc78 | ||
|
|
0240ffa1d2 | ||
|
|
87c285e6b2 | ||
|
|
e9273cd6c3 | ||
|
|
b72173bb0e | ||
|
|
17d1e59e29 | ||
|
|
dbb556bce9 | ||
|
|
6e1e709564 | ||
|
|
49fcb7a104 | ||
|
|
b8a19b52e0 | ||
|
|
9b3f565e90 | ||
|
|
2ce54f10f8 | ||
|
|
139e55fca3 | ||
|
|
4c7c8cf195 | ||
|
|
4245d83812 | ||
|
|
f1525df48a | ||
|
|
19582dd139 | ||
|
|
40b2258589 | ||
|
|
14b184089d | ||
|
|
039bf15df1 | ||
|
|
e163ef71e8 | ||
|
|
d9b2ac0f33 | ||
|
|
7961ca136f | ||
|
|
2ad3d0d449 | ||
|
|
77ba7946f5 | ||
|
|
e4b0c6e7c0 | ||
|
|
585151f184 | ||
|
|
df41ea9988 | ||
|
|
fb2fd79a52 | ||
|
|
44e6b27560 | ||
|
|
b63e92b540 | ||
|
|
38576ba08a | ||
|
|
628fbd6b64 | ||
|
|
036aee2a8d | ||
|
|
a994baae75 | ||
|
|
976e480903 | ||
|
|
ed3b4d587c | ||
|
|
84fb46f233 | ||
|
|
c502f0216a | ||
|
|
3cccdf722e | ||
|
|
a1d47e9509 | ||
|
|
437bb95f01 | ||
|
|
4dfa6d3648 | ||
|
|
7c9ebec557 | ||
|
|
81e6af427f | ||
|
|
9a80216e89 | ||
|
|
7f9938d4f1 | ||
|
|
bd0dbe3af6 | ||
|
|
4b71fa73f8 | ||
|
|
17f97651a3 | ||
|
|
994404d6e1 | ||
|
|
45e0ef20da | ||
|
|
9470e9af17 | ||
|
|
dd8bceecf7 | ||
|
|
d3447165c8 | ||
|
|
18f82c1207 | ||
|
|
6d6a5492bb | ||
|
|
236b017d57 | ||
|
|
96d406960d | ||
|
|
954db75b37 | ||
|
|
589b84982f | ||
|
|
4de854a3c3 | ||
|
|
dbdba4c59e | ||
|
|
5eff2f4176 | ||
|
|
2d99b80672 | ||
|
|
949d71a81b | ||
|
|
df1fc5a6da | ||
|
|
7745733001 | ||
|
|
10ef12b008 | ||
|
|
19ef6a672d | ||
|
|
6c110a641d | ||
|
|
2ec296088a | ||
|
|
14cc9c6873 | ||
|
|
05c157e449 | ||
|
|
73fd2cefca | ||
|
|
f2f590e193 | ||
|
|
a840b6505b | ||
|
|
467f0a477e | ||
|
|
e046b37287 | ||
|
|
9efe1d45cc | ||
|
|
2ed73c0700 | ||
|
|
d845dca3af | ||
|
|
930e695ea4 | ||
|
|
079bcff893 | ||
|
|
ea57b560d9 | ||
|
|
436c152fde | ||
|
|
f93273ef23 | ||
|
|
6608cbf287 | ||
|
|
a65fe591b8 | ||
|
|
afb89f0add | ||
|
|
2ac5c2f897 | ||
|
|
2e9bc3194b | ||
|
|
691931adf9 | ||
|
|
b2828b9702 | ||
|
|
776a56fa67 | ||
|
|
bc5cdfecb4 | ||
|
|
d80e9aa7c5 | ||
|
|
1e2b551795 | ||
|
|
ea374c05df | ||
|
|
3a7e620ce6 | ||
|
|
589c918f79 | ||
|
|
1ea513ad75 | ||
|
|
036d77e08f | ||
|
|
783a326b11 | ||
|
|
a650847201 | ||
|
|
7e1e187d6c | ||
|
|
3a623af363 | ||
|
|
6b5253e6a0 | ||
|
|
feb19cafdd | ||
|
|
c963fd30ba | ||
|
|
eee4d05b77 | ||
|
|
5f8858856b | ||
|
|
8b28b013c4 | ||
|
|
074ae41ee6 | ||
|
|
06e15b6e25 | ||
|
|
14f06e98b7 | ||
|
|
18aa5c5b69 | ||
|
|
6e872c69dd | ||
|
|
3ba877b078 | ||
|
|
4d95dcf1da | ||
|
|
03d8cf1114 | ||
|
|
2d50d1cbf5 | ||
|
|
ad2614c452 | ||
|
|
eaf184c833 | ||
|
|
57c1983e07 | ||
|
|
2f4e0d9e17 | ||
|
|
43e68f73d3 | ||
|
|
6fd2fb08bb | ||
|
|
c5b61a3125 | ||
|
|
5317703dcc | ||
|
|
f820e7a8be | ||
|
|
cc0b0b00af | ||
|
|
8ed1cc6006 | ||
|
|
103bcef6ab | ||
|
|
0dd969cc24 | ||
|
|
e301cda990 | ||
|
|
200fbe3334 | ||
|
|
0cac03ad4a | ||
|
|
be0357da4a | ||
|
|
32235ca60a | ||
|
|
792eab8621 | ||
|
|
8e5ad1288c | ||
|
|
332dbc4a08 | ||
|
|
0fda4b060c | ||
|
|
55de71feca | ||
|
|
c0c58f9aff | ||
|
|
ae4e28689d | ||
|
|
7ca51e78f0 | ||
|
|
d4772fe060 | ||
|
|
47f2758c8f | ||
|
|
dac31390cb | ||
|
|
68fe437889 | ||
|
|
d358af4a53 | ||
|
|
e3269984ce | ||
|
|
e9b9adad06 | ||
|
|
c08c280dd9 | ||
|
|
109f22051d | ||
|
|
9764fe310a | ||
|
|
10a69c4d3d | ||
|
|
77f26994a6 | ||
|
|
1d8a60a9ba | ||
|
|
59e2e102e6 | ||
|
|
f52e98d8df | ||
|
|
08c089258f | ||
|
|
976cd284ff | ||
|
|
914626e2b2 | ||
|
|
a5f8762570 | ||
|
|
8d4deda2bb | ||
|
|
0c05069baf | ||
|
|
b5c46062c6 | ||
|
|
022b219c0f | ||
|
|
e28d03df82 | ||
|
|
733101a560 | ||
|
|
32144fb6b0 | ||
|
|
4cdec31803 | ||
|
|
70a83dad4d | ||
|
|
86eef4c184 | ||
|
|
8fefc8c12a | ||
|
|
75a3266929 | ||
|
|
7f0c3bf94b | ||
|
|
506799cac4 | ||
|
|
fca8c43d47 | ||
|
|
198e69f8d1 | ||
|
|
28ceaaaaab | ||
|
|
2bee2f4aa5 | ||
|
|
86f778f504 | ||
|
|
2181c48eb7 | ||
|
|
9429c96172 | ||
|
|
e2d11d8575 | ||
|
|
b553954d37 | ||
|
|
07755e2c56 | ||
|
|
6b18a2842f | ||
|
|
6a7e741b02 | ||
|
|
96851c1d34 | ||
|
|
2663f437fc | ||
|
|
94224d0ac5 | ||
|
|
3a599b66f5 | ||
|
|
51fd0afade | ||
|
|
101bc8045b | ||
|
|
3e68bc9ec5 | ||
|
|
462caf5bd4 | ||
|
|
98f3e6e61d | ||
|
|
8543bd457b | ||
|
|
08f32cb9e9 | ||
|
|
57d577a140 | ||
|
|
1b66904550 | ||
|
|
77f3269f09 | ||
|
|
317b7f5d40 | ||
|
|
552c594d3f | ||
|
|
429709a426 | ||
|
|
f5f1b38fe8 | ||
|
|
b2a7b91a7c | ||
|
|
fb24835ac5 | ||
|
|
dd10bf52e7 | ||
|
|
5d775fdc3e | ||
|
|
17ef077e27 | ||
|
|
02dcdf83b5 | ||
|
|
d572383e76 | ||
|
|
a6cf99a83c | ||
|
|
74607341ff | ||
|
|
5f007ed1d9 | ||
|
|
8d720cacc5 | ||
|
|
4a58fbdd53 | ||
|
|
3d7bb9d253 | ||
|
|
7f32435ce9 | ||
|
|
126a3d88b5 | ||
|
|
367c32c050 | ||
|
|
d9bd9c3532 | ||
|
|
879f0fed78 | ||
|
|
07050a35f3 | ||
|
|
05d664cae1 | ||
|
|
18c770141d | ||
|
|
595dd9f3f4 | ||
|
|
1d4c79b897 | ||
|
|
ee77debfce | ||
|
|
d44e592635 | ||
|
|
4840708090 | ||
|
|
bad31d83b1 | ||
|
|
1c29c2c87d | ||
|
|
ca4b15bc0b | ||
|
|
c73f131f32 | ||
|
|
551c4b99c4 | ||
|
|
4ca35fb956 | ||
|
|
14ab7ba7bd | ||
|
|
068d85b1f3 | ||
|
|
d2fdc10f39 | ||
|
|
2b7452f9a7 | ||
|
|
0ac2b43ad3 | ||
|
|
5bf8feefca | ||
|
|
bdc167fd6a | ||
|
|
aa98ca42c8 | ||
|
|
5adc86bbbf | ||
|
|
bfc2367bdb | ||
|
|
4c3354fa50 | ||
|
|
31cf470cc8 | ||
|
|
fe85e28605 | ||
|
|
7a95c38290 | ||
|
|
fe65d28f99 | ||
|
|
09ce815fc5 | ||
|
|
38ffa390ea | ||
|
|
c2a84c7cf6 | ||
|
|
da5e2925ad | ||
|
|
6ef5650129 | ||
|
|
d7de67d242 | ||
|
|
4c40784328 | ||
|
|
b581e5d3c4 | ||
|
|
fd27fe3392 | ||
|
|
955634c35b | ||
|
|
42c0b33f07 | ||
|
|
c5158a6457 | ||
|
|
9fd9e8e3a8 | ||
|
|
ead7cfe2b8 | ||
|
|
3a4fff1683 | ||
|
|
c4a5a75fd6 | ||
|
|
4cb5caa342 | ||
|
|
652b7d9c8d | ||
|
|
94480c23d2 | ||
|
|
d3303f6a98 | ||
|
|
125058093f | ||
|
|
891136788f | ||
|
|
d1b7e66694 | ||
|
|
914007c7e5 | ||
|
|
e9d60e693e | ||
|
|
e6ea471cbe | ||
|
|
a3ba025d22 | ||
|
|
b9f10addf8 | ||
|
|
c8e35fab88 | ||
|
|
cc8299f0cc | ||
|
|
55ad0cb8b7 | ||
|
|
3c9bf20798 | ||
|
|
6b77459286 |
29
.gitignore
vendored
29
.gitignore
vendored
@@ -1,19 +1,18 @@
|
|||||||
aclocal.m4
|
cmake.h
|
||||||
autom4te.cache
|
auto.h
|
||||||
auto.h*
|
commit.h
|
||||||
config.h.in
|
|
||||||
config.status
|
|
||||||
src/.deps
|
|
||||||
src/Makefile
|
|
||||||
*/*task
|
|
||||||
stamp-h1
|
|
||||||
Makefile
|
Makefile
|
||||||
Makefile.in
|
*/*task
|
||||||
configure
|
*/*libtask.a
|
||||||
config.log
|
*/*/libcommands.a
|
||||||
www.xls
|
*/*/libcolumns.a
|
||||||
src/tests/all.log
|
|
||||||
src/tests/*.data
|
|
||||||
*~
|
*~
|
||||||
.*.swp
|
.*.swp
|
||||||
package-config/osx/binary/task
|
package-config/osx/binary/task
|
||||||
|
CMakeFiles
|
||||||
|
CMakeCache.txt
|
||||||
|
cmake_install.cmake
|
||||||
|
install_manifest.txt
|
||||||
|
_CPack_Packages
|
||||||
|
CPackConfig.cmake
|
||||||
|
CPackSourceConfig.cmake
|
||||||
|
|||||||
113
AUTHORS
113
AUTHORS
@@ -7,6 +7,11 @@ contributions of the following people:
|
|||||||
John Florian (Contributing Author)
|
John Florian (Contributing Author)
|
||||||
Cory Donnelly (Contributing Author)
|
Cory Donnelly (Contributing Author)
|
||||||
Johannes Schlatow (Contributing Author)
|
Johannes Schlatow (Contributing Author)
|
||||||
|
Dirk Deimeke (Technical Advisor & Evangelist)
|
||||||
|
Wim Schuermann (Contributing Author)
|
||||||
|
Owen Clarke (Contributing Author)
|
||||||
|
Louis-Claude Canon (Contributing Author)
|
||||||
|
Scott Kostyshak (Contributing Author)
|
||||||
|
|
||||||
The following submitted code, packages or analysis, and deserve special thanks:
|
The following submitted code, packages or analysis, and deserve special thanks:
|
||||||
|
|
||||||
@@ -32,6 +37,53 @@ The following submitted code, packages or analysis, and deserve special thanks:
|
|||||||
Kathryn Andersen
|
Kathryn Andersen
|
||||||
Alexander Schremmer
|
Alexander Schremmer
|
||||||
Jostein Berntsen
|
Jostein Berntsen
|
||||||
|
Andraž 'ruskie' Levstik
|
||||||
|
Irfan Siddiqui
|
||||||
|
Itay Perl
|
||||||
|
Sander Marechal
|
||||||
|
Stephen Heywood
|
||||||
|
Nicola Busanello
|
||||||
|
Eric Fluger
|
||||||
|
Andreas Poisel
|
||||||
|
Timm Reitinger
|
||||||
|
Dan White
|
||||||
|
Alexei Romanoff
|
||||||
|
Tomas Cech
|
||||||
|
Duane Waddle
|
||||||
|
Stefan Keel
|
||||||
|
Christopher J. Pilkington
|
||||||
|
Fumihito Yoshida
|
||||||
|
Michael McCann
|
||||||
|
Ben Boeckel
|
||||||
|
Bryce Harrington
|
||||||
|
Brendan O'Flaherty
|
||||||
|
Matt Kraai
|
||||||
|
Daniel Kullmann
|
||||||
|
Takanobu Watanabe
|
||||||
|
Paolo Almeida
|
||||||
|
Michelle Crane
|
||||||
|
Greg Grossmeier
|
||||||
|
Barton Meeks
|
||||||
|
Martin Klepsch
|
||||||
|
Ralph Bean
|
||||||
|
Uli Martens
|
||||||
|
Michal Vyskocil
|
||||||
|
Steve Rader
|
||||||
|
Luke Macken
|
||||||
|
Sam Stuck
|
||||||
|
Christoph Robbert
|
||||||
|
Oleksii Tsai
|
||||||
|
Jörg Plate
|
||||||
|
Markus Kuhn
|
||||||
|
Erik Wenzel
|
||||||
|
Štěpán Henek
|
||||||
|
Fidel Mato
|
||||||
|
Justin Forest
|
||||||
|
Vincent Petithory
|
||||||
|
Rainer Müller
|
||||||
|
Jakub Wilk
|
||||||
|
Russell Steicke
|
||||||
|
YBSAR
|
||||||
|
|
||||||
Thanks to the following, who submitted detailed bug reports and excellent
|
Thanks to the following, who submitted detailed bug reports and excellent
|
||||||
suggestions:
|
suggestions:
|
||||||
@@ -59,7 +111,64 @@ suggestions:
|
|||||||
Juergen Daubert
|
Juergen Daubert
|
||||||
Rich Mintz
|
Rich Mintz
|
||||||
Seneca Cunningham
|
Seneca Cunningham
|
||||||
Dirk Deimeke
|
Alexander Schremmer
|
||||||
Michelle Crane
|
|
||||||
Elizabeth Maxson
|
Elizabeth Maxson
|
||||||
Peter De Poorter
|
Peter De Poorter
|
||||||
|
Max Muller
|
||||||
|
Thomas Sattler
|
||||||
|
Erlan Sergaziev
|
||||||
|
Andy Kriger
|
||||||
|
Patrick R McDonald
|
||||||
|
Pete Lewis
|
||||||
|
Stefan Hacker
|
||||||
|
Alan Barton
|
||||||
|
Jonathan Hankins
|
||||||
|
Andreas Kalex
|
||||||
|
Adam Wolk
|
||||||
|
Tom Duffy
|
||||||
|
Miguel de Val Borro
|
||||||
|
Yann Davin
|
||||||
|
John Hammond
|
||||||
|
Arkady Grudzinsky
|
||||||
|
Bernhard B
|
||||||
|
Aikido Guy
|
||||||
|
Gour-Gadadhara Dasa
|
||||||
|
Aaron Jackson
|
||||||
|
Dmitriy Samborskiy
|
||||||
|
Eli Lev
|
||||||
|
Paul-Gheorghe Barbu
|
||||||
|
Jennifer Cormier
|
||||||
|
Joe Holloway
|
||||||
|
Peter Lewis
|
||||||
|
Najmi Ahmad Zabidi
|
||||||
|
Philipp Woelfel
|
||||||
|
Tuomas Toivola
|
||||||
|
Adam Gibbins
|
||||||
|
Ali Mousavi
|
||||||
|
Victor Roetman
|
||||||
|
Andy Spiegl
|
||||||
|
Ethan Schoonover
|
||||||
|
Paul Kishimoto
|
||||||
|
Jeff Schroeder
|
||||||
|
Bryan Kam
|
||||||
|
Nicholas Rabenau
|
||||||
|
Bruno Bigras
|
||||||
|
Hyde Stevenson
|
||||||
|
Martin U
|
||||||
|
Christoph Lange
|
||||||
|
Stephen Hay
|
||||||
|
Vlad Zhivotnev
|
||||||
|
Stanley G
|
||||||
|
Marek Vitek
|
||||||
|
Rene Vergara
|
||||||
|
Stéphane Pezennec
|
||||||
|
Jim B
|
||||||
|
Jake Bell
|
||||||
|
Florian Hollerweger
|
||||||
|
Thomas Sullivan
|
||||||
|
Tim None
|
||||||
|
trHD
|
||||||
|
Benjamin Weber
|
||||||
|
alparo
|
||||||
|
Roy Zuo
|
||||||
|
Friedrich Heusler
|
||||||
|
|||||||
130
CMakeLists.txt
Normal file
130
CMakeLists.txt
Normal file
@@ -0,0 +1,130 @@
|
|||||||
|
cmake_minimum_required (VERSION 2.8)
|
||||||
|
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
|
||||||
|
|
||||||
|
include (CheckFunctionExists)
|
||||||
|
include (CheckStructHasMember)
|
||||||
|
|
||||||
|
set (HAVE_CMAKE true)
|
||||||
|
|
||||||
|
project (task)
|
||||||
|
set (PROJECT_VERSION "2.2.0")
|
||||||
|
|
||||||
|
SET (TASK_MAN1DIR share/man/man1 CACHE STRING "Installation directory for man pages, section 1")
|
||||||
|
SET (TASK_MAN5DIR share/man/man5 CACHE STRING "Installation directory for man pages, section 5")
|
||||||
|
SET (TASK_DOCDIR share/doc/task CACHE STRING "Installation directory for doc files")
|
||||||
|
SET (TASK_BINDIR bin CACHE STRING "Installation directory for the binary")
|
||||||
|
|
||||||
|
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
|
set (LINUX true)
|
||||||
|
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||||
|
set (DARWIN true)
|
||||||
|
elseif (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||||
|
set (FREEBSD true)
|
||||||
|
elseif (${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||||
|
set (OPENBSD true)
|
||||||
|
elseif (${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
|
||||||
|
set (NETBSD true)
|
||||||
|
elseif (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
|
||||||
|
set (SOLARIS true)
|
||||||
|
else (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
|
set (UNKNOWN true)
|
||||||
|
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
|
|
||||||
|
message ("-- Looking for SHA1 references")
|
||||||
|
if (EXISTS ${CMAKE_SOURCE_DIR}/.git/index)
|
||||||
|
set (HAVE_COMMIT true)
|
||||||
|
execute_process (COMMAND git log -1 --pretty=format:%h
|
||||||
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||||
|
OUTPUT_VARIABLE COMMIT)
|
||||||
|
configure_file ( ${CMAKE_SOURCE_DIR}/commit.h.in
|
||||||
|
${CMAKE_SOURCE_DIR}/commit.h)
|
||||||
|
message ("-- Found SHA1 reference: ${COMMIT}")
|
||||||
|
endif (EXISTS ${CMAKE_SOURCE_DIR}/.git/index)
|
||||||
|
|
||||||
|
set (PACKAGE "${PROJECT_NAME}")
|
||||||
|
set (VERSION "${PROJECT_VERSION}")
|
||||||
|
set (PACKAGE_BUGREPORT "support@taskwarrior.org")
|
||||||
|
set (PACKAGE_NAME "${PACKAGE}")
|
||||||
|
set (PACKAGE_TARNAME "${PACKAGE}")
|
||||||
|
set (PACKAGE_VERSION "${VERSION}")
|
||||||
|
set (PACKAGE_STRING "${PACKAGE} ${VERSION}")
|
||||||
|
|
||||||
|
check_function_exists (random HAVE_RANDOM)
|
||||||
|
check_function_exists (srandom HAVE_SRANDOM)
|
||||||
|
check_function_exists (timegm HAVE_TIMEGM)
|
||||||
|
|
||||||
|
check_struct_has_member ("struct tm" tm_gmtoff time.h HAVE_TM_GMTOFF)
|
||||||
|
check_struct_has_member ("struct stat" st_birthtime "sys/types.h;sys/stat.h" HAVE_ST_BIRTHTIME)
|
||||||
|
|
||||||
|
message ("-- Looking for libuuid")
|
||||||
|
if (DARWIN)
|
||||||
|
# Apple includes the uuid functions in their libc, rather than libuuid
|
||||||
|
set (HAVE_UUID true)
|
||||||
|
check_function_exists (uuid_unparse_lower HAVE_UUID_UNPARSE_LOWER)
|
||||||
|
else (DARWIN)
|
||||||
|
find_path (UUID_INCLUDE_DIR uuid/uuid.h)
|
||||||
|
find_library (UUID_LIBRARY NAMES uuid)
|
||||||
|
if (UUID_INCLUDE_DIR AND UUID_LIBRARY)
|
||||||
|
set (HAVE_UUID true)
|
||||||
|
set (TASK_INCLUDE_DIRS ${TASK_INCLUDE_DIRS} ${UUID_INCLUDE_DIR})
|
||||||
|
set (TASK_LIBRARIES ${TASK_LIBRARIES} ${UUID_LIBRARY})
|
||||||
|
# Look for uuid_unparse_lower
|
||||||
|
set (CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${UUID_INCLUDE_DIR})
|
||||||
|
set (CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${UUID_LIBRARY})
|
||||||
|
check_function_exists (uuid_unparse_lower HAVE_UUID_UNPARSE_LOWER)
|
||||||
|
endif (UUID_INCLUDE_DIR AND UUID_LIBRARY)
|
||||||
|
endif (DARWIN)
|
||||||
|
|
||||||
|
if (HAVE_UUID AND HAVE_UUID_UNPARSE_LOWER)
|
||||||
|
message ("-- Found libuuid")
|
||||||
|
elseif (HAVE_UUID AND NOT HAVE_UUID_UNPARSE_LOWER)
|
||||||
|
message ("-- Found libuuid, using internal uuid_unparse_lower")
|
||||||
|
else (HAVE_UUID AND HAVE_UUID_UNPARSE_LOWER)
|
||||||
|
message ("-- libuuid not found, using internal uuid")
|
||||||
|
endif (HAVE_UUID AND HAVE_UUID_UNPARSE_LOWER)
|
||||||
|
|
||||||
|
# Set the package language.
|
||||||
|
if (LANGUAGE)
|
||||||
|
set (PACKAGE_LANGUAGE ${LANGUAGE})
|
||||||
|
else (LANGUAGE)
|
||||||
|
set (PACKAGE_LANGUAGE 1)
|
||||||
|
endif (LANGUAGE)
|
||||||
|
|
||||||
|
set (LANGUAGE_EN_US 1)
|
||||||
|
set (LANGUAGE_ES_ES 2)
|
||||||
|
set (LANGUAGE_DE_DE 3)
|
||||||
|
set (LANGUAGE_FR_FR 4)
|
||||||
|
|
||||||
|
message ("-- Configuring cmake.h")
|
||||||
|
configure_file (
|
||||||
|
${CMAKE_SOURCE_DIR}/cmake.h.in
|
||||||
|
${CMAKE_SOURCE_DIR}/cmake.h)
|
||||||
|
|
||||||
|
add_subdirectory (src)
|
||||||
|
add_subdirectory (src/commands)
|
||||||
|
add_subdirectory (src/columns)
|
||||||
|
add_subdirectory (doc)
|
||||||
|
add_subdirectory (i18n)
|
||||||
|
add_subdirectory (scripts)
|
||||||
|
if (EXISTS test)
|
||||||
|
add_subdirectory (test EXCLUDE_FROM_ALL)
|
||||||
|
endif (EXISTS test)
|
||||||
|
if (EXISTS performance)
|
||||||
|
add_subdirectory (performance EXCLUDE_FROM_ALL)
|
||||||
|
endif (EXISTS performance)
|
||||||
|
|
||||||
|
set (doc_FILES NEWS ChangeLog README INSTALL AUTHORS COPYING)
|
||||||
|
foreach (doc_FILE ${doc_FILES})
|
||||||
|
install (FILES ${doc_FILE} DESTINATION ${TASK_DOCDIR})
|
||||||
|
endforeach (doc_FILE)
|
||||||
|
|
||||||
|
# ---
|
||||||
|
|
||||||
|
set (CPACK_SOURCE_GENERATOR "TGZ")
|
||||||
|
set (CPACK_SOURCE_PACKAGE_FILE_NAME ${PACKAGE_NAME}-${PACKAGE_VERSION})
|
||||||
|
set (CPACK_SOURCE_IGNORE_FILES "CMakeCache" "CMakeFiles" "CPackConfig" "CPackSourceConfig"
|
||||||
|
"_CPack_Packages" "cmake_install" "install_manifest" "Makefile$"
|
||||||
|
"test" "package-config" "misc/*" "src/task$" "src/libtask.a"
|
||||||
|
"src/columns/libcolumns.a" "src/commands/libcommands.a"
|
||||||
|
"auto.h$" "/\\.gitignore" "/\\.git/" "swp$")
|
||||||
|
include (CPack)
|
||||||
294
COPYING
294
COPYING
@@ -1,281 +1,23 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
taskwarrior - a command line task list manager.
|
||||||
Version 2, June 1991
|
|
||||||
|
|
||||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
Copyright 2006-2013, Paul Beckingham, Federico Hernandez.
|
||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
Preamble
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
The licenses for most software are designed to take away your
|
The above copyright notice and this permission notice shall be included
|
||||||
freedom to share and change it. By contrast, the GNU General Public
|
in all copies or substantial portions of the Software.
|
||||||
License is intended to guarantee your freedom to share and change free
|
|
||||||
software--to make sure the software is free for all its users. This
|
|
||||||
General Public License applies to most of the Free Software
|
|
||||||
Foundation's software and to any other program whose authors commit to
|
|
||||||
using it. (Some other Free Software Foundation software is covered by
|
|
||||||
the GNU Library General Public License instead.) You can apply it to
|
|
||||||
your programs, too.
|
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
have the freedom to distribute copies of free software (and charge for
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||||
this service if you wish), that you receive source code or can get it
|
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
if you want it, that you can change the software or use pieces of it
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
in new free programs; and that you know you can do these things.
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
To protect your rights, we need to make restrictions that forbid
|
|
||||||
anyone to deny you these rights or to ask you to surrender the rights.
|
|
||||||
These restrictions translate to certain responsibilities for you if you
|
|
||||||
distribute copies of the software, or if you modify it.
|
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether
|
|
||||||
gratis or for a fee, you must give the recipients all the rights that
|
|
||||||
you have. You must make sure that they, too, receive or can get the
|
|
||||||
source code. And you must show them these terms so they know their
|
|
||||||
rights.
|
|
||||||
|
|
||||||
We protect your rights with two steps: (1) copyright the software, and
|
|
||||||
(2) offer you this license which gives you legal permission to copy,
|
|
||||||
distribute and/or modify the software.
|
|
||||||
|
|
||||||
Also, for each author's protection and ours, we want to make certain
|
|
||||||
that everyone understands that there is no warranty for this free
|
|
||||||
software. If the software is modified by someone else and passed on, we
|
|
||||||
want its recipients to know that what they have is not the original, so
|
|
||||||
that any problems introduced by others will not reflect on the original
|
|
||||||
authors' reputations.
|
|
||||||
|
|
||||||
Finally, any free program is threatened constantly by software
|
|
||||||
patents. We wish to avoid the danger that redistributors of a free
|
|
||||||
program will individually obtain patent licenses, in effect making the
|
|
||||||
program proprietary. To prevent this, we have made it clear that any
|
|
||||||
patent must be licensed for everyone's free use or not licensed at all.
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
|
||||||
modification follow.
|
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
||||||
|
|
||||||
0. This License applies to any program or other work which contains
|
|
||||||
a notice placed by the copyright holder saying it may be distributed
|
|
||||||
under the terms of this General Public License. The "Program", below,
|
|
||||||
refers to any such program or work, and a "work based on the Program"
|
|
||||||
means either the Program or any derivative work under copyright law:
|
|
||||||
that is to say, a work containing the Program or a portion of it,
|
|
||||||
either verbatim or with modifications and/or translated into another
|
|
||||||
language. (Hereinafter, translation is included without limitation in
|
|
||||||
the term "modification".) Each licensee is addressed as "you".
|
|
||||||
|
|
||||||
Activities other than copying, distribution and modification are not
|
|
||||||
covered by this License; they are outside its scope. The act of
|
|
||||||
running the Program is not restricted, and the output from the Program
|
|
||||||
is covered only if its contents constitute a work based on the
|
|
||||||
Program (independent of having been made by running the Program).
|
|
||||||
Whether that is true depends on what the Program does.
|
|
||||||
|
|
||||||
1. You may copy and distribute verbatim copies of the Program's
|
|
||||||
source code as you receive it, in any medium, provided that you
|
|
||||||
conspicuously and appropriately publish on each copy an appropriate
|
|
||||||
copyright notice and disclaimer of warranty; keep intact all the
|
|
||||||
notices that refer to this License and to the absence of any warranty;
|
|
||||||
and give any other recipients of the Program a copy of this License
|
|
||||||
along with the Program.
|
|
||||||
|
|
||||||
You may charge a fee for the physical act of transferring a copy, and
|
|
||||||
you may at your option offer warranty protection in exchange for a fee.
|
|
||||||
|
|
||||||
2. You may modify your copy or copies of the Program or any portion
|
|
||||||
of it, thus forming a work based on the Program, and copy and
|
|
||||||
distribute such modifications or work under the terms of Section 1
|
|
||||||
above, provided that you also meet all of these conditions:
|
|
||||||
|
|
||||||
a) You must cause the modified files to carry prominent notices
|
|
||||||
stating that you changed the files and the date of any change.
|
|
||||||
|
|
||||||
b) You must cause any work that you distribute or publish, that in
|
|
||||||
whole or in part contains or is derived from the Program or any
|
|
||||||
part thereof, to be licensed as a whole at no charge to all third
|
|
||||||
parties under the terms of this License.
|
|
||||||
|
|
||||||
c) If the modified program normally reads commands interactively
|
|
||||||
when run, you must cause it, when started running for such
|
|
||||||
interactive use in the most ordinary way, to print or display an
|
|
||||||
announcement including an appropriate copyright notice and a
|
|
||||||
notice that there is no warranty (or else, saying that you provide
|
|
||||||
a warranty) and that users may redistribute the program under
|
|
||||||
these conditions, and telling the user how to view a copy of this
|
|
||||||
License. (Exception: if the Program itself is interactive but
|
|
||||||
does not normally print such an announcement, your work based on
|
|
||||||
the Program is not required to print an announcement.)
|
|
||||||
|
|
||||||
These requirements apply to the modified work as a whole. If
|
|
||||||
identifiable sections of that work are not derived from the Program,
|
|
||||||
and can be reasonably considered independent and separate works in
|
|
||||||
themselves, then this License, and its terms, do not apply to those
|
|
||||||
sections when you distribute them as separate works. But when you
|
|
||||||
distribute the same sections as part of a whole which is a work based
|
|
||||||
on the Program, the distribution of the whole must be on the terms of
|
|
||||||
this License, whose permissions for other licensees extend to the
|
|
||||||
entire whole, and thus to each and every part regardless of who wrote it.
|
|
||||||
|
|
||||||
Thus, it is not the intent of this section to claim rights or contest
|
|
||||||
your rights to work written entirely by you; rather, the intent is to
|
|
||||||
exercise the right to control the distribution of derivative or
|
|
||||||
collective works based on the Program.
|
|
||||||
|
|
||||||
In addition, mere aggregation of another work not based on the Program
|
|
||||||
with the Program (or with a work based on the Program) on a volume of
|
|
||||||
a storage or distribution medium does not bring the other work under
|
|
||||||
the scope of this License.
|
|
||||||
|
|
||||||
3. You may copy and distribute the Program (or a work based on it,
|
|
||||||
under Section 2) in object code or executable form under the terms of
|
|
||||||
Sections 1 and 2 above provided that you also do one of the following:
|
|
||||||
|
|
||||||
a) Accompany it with the complete corresponding machine-readable
|
|
||||||
source code, which must be distributed under the terms of Sections
|
|
||||||
1 and 2 above on a medium customarily used for software interchange; or,
|
|
||||||
|
|
||||||
b) Accompany it with a written offer, valid for at least three
|
|
||||||
years, to give any third party, for a charge no more than your
|
|
||||||
cost of physically performing source distribution, a complete
|
|
||||||
machine-readable copy of the corresponding source code, to be
|
|
||||||
distributed under the terms of Sections 1 and 2 above on a medium
|
|
||||||
customarily used for software interchange; or,
|
|
||||||
|
|
||||||
c) Accompany it with the information you received as to the offer
|
|
||||||
to distribute corresponding source code. (This alternative is
|
|
||||||
allowed only for noncommercial distribution and only if you
|
|
||||||
received the program in object code or executable form with such
|
|
||||||
an offer, in accord with Subsection b above.)
|
|
||||||
|
|
||||||
The source code for a work means the preferred form of the work for
|
|
||||||
making modifications to it. For an executable work, complete source
|
|
||||||
code means all the source code for all modules it contains, plus any
|
|
||||||
associated interface definition files, plus the scripts used to
|
|
||||||
control compilation and installation of the executable. However, as a
|
|
||||||
special exception, the source code distributed need not include
|
|
||||||
anything that is normally distributed (in either source or binary
|
|
||||||
form) with the major components (compiler, kernel, and so on) of the
|
|
||||||
operating system on which the executable runs, unless that component
|
|
||||||
itself accompanies the executable.
|
|
||||||
|
|
||||||
If distribution of executable or object code is made by offering
|
|
||||||
access to copy from a designated place, then offering equivalent
|
|
||||||
access to copy the source code from the same place counts as
|
|
||||||
distribution of the source code, even though third parties are not
|
|
||||||
compelled to copy the source along with the object code.
|
|
||||||
|
|
||||||
4. You may not copy, modify, sublicense, or distribute the Program
|
|
||||||
except as expressly provided under this License. Any attempt
|
|
||||||
otherwise to copy, modify, sublicense or distribute the Program is
|
|
||||||
void, and will automatically terminate your rights under this License.
|
|
||||||
However, parties who have received copies, or rights, from you under
|
|
||||||
this License will not have their licenses terminated so long as such
|
|
||||||
parties remain in full compliance.
|
|
||||||
|
|
||||||
5. You are not required to accept this License, since you have not
|
|
||||||
signed it. However, nothing else grants you permission to modify or
|
|
||||||
distribute the Program or its derivative works. These actions are
|
|
||||||
prohibited by law if you do not accept this License. Therefore, by
|
|
||||||
modifying or distributing the Program (or any work based on the
|
|
||||||
Program), you indicate your acceptance of this License to do so, and
|
|
||||||
all its terms and conditions for copying, distributing or modifying
|
|
||||||
the Program or works based on it.
|
|
||||||
|
|
||||||
6. Each time you redistribute the Program (or any work based on the
|
|
||||||
Program), the recipient automatically receives a license from the
|
|
||||||
original licensor to copy, distribute or modify the Program subject to
|
|
||||||
these terms and conditions. You may not impose any further
|
|
||||||
restrictions on the recipients' exercise of the rights granted herein.
|
|
||||||
You are not responsible for enforcing compliance by third parties to
|
|
||||||
this License.
|
|
||||||
|
|
||||||
7. If, as a consequence of a court judgment or allegation of patent
|
|
||||||
infringement or for any other reason (not limited to patent issues),
|
|
||||||
conditions are imposed on you (whether by court order, agreement or
|
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
|
||||||
excuse you from the conditions of this License. If you cannot
|
|
||||||
distribute so as to satisfy simultaneously your obligations under this
|
|
||||||
License and any other pertinent obligations, then as a consequence you
|
|
||||||
may not distribute the Program at all. For example, if a patent
|
|
||||||
license would not permit royalty-free redistribution of the Program by
|
|
||||||
all those who receive copies directly or indirectly through you, then
|
|
||||||
the only way you could satisfy both it and this License would be to
|
|
||||||
refrain entirely from distribution of the Program.
|
|
||||||
|
|
||||||
If any portion of this section is held invalid or unenforceable under
|
|
||||||
any particular circumstance, the balance of the section is intended to
|
|
||||||
apply and the section as a whole is intended to apply in other
|
|
||||||
circumstances.
|
|
||||||
|
|
||||||
It is not the purpose of this section to induce you to infringe any
|
|
||||||
patents or other property right claims or to contest validity of any
|
|
||||||
such claims; this section has the sole purpose of protecting the
|
|
||||||
integrity of the free software distribution system, which is
|
|
||||||
implemented by public license practices. Many people have made
|
|
||||||
generous contributions to the wide range of software distributed
|
|
||||||
through that system in reliance on consistent application of that
|
|
||||||
system; it is up to the author/donor to decide if he or she is willing
|
|
||||||
to distribute software through any other system and a licensee cannot
|
|
||||||
impose that choice.
|
|
||||||
|
|
||||||
This section is intended to make thoroughly clear what is believed to
|
|
||||||
be a consequence of the rest of this License.
|
|
||||||
|
|
||||||
8. If the distribution and/or use of the Program is restricted in
|
|
||||||
certain countries either by patents or by copyrighted interfaces, the
|
|
||||||
original copyright holder who places the Program under this License
|
|
||||||
may add an explicit geographical distribution limitation excluding
|
|
||||||
those countries, so that distribution is permitted only in or among
|
|
||||||
countries not thus excluded. In such case, this License incorporates
|
|
||||||
the limitation as if written in the body of this License.
|
|
||||||
|
|
||||||
9. The Free Software Foundation may publish revised and/or new versions
|
|
||||||
of the General Public License from time to time. Such new versions will
|
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
|
||||||
address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the Program
|
|
||||||
specifies a version number of this License which applies to it and "any
|
|
||||||
later version", you have the option of following the terms and conditions
|
|
||||||
either of that version or of any later version published by the Free
|
|
||||||
Software Foundation. If the Program does not specify a version number of
|
|
||||||
this License, you may choose any version ever published by the Free Software
|
|
||||||
Foundation.
|
|
||||||
|
|
||||||
10. If you wish to incorporate parts of the Program into other free
|
|
||||||
programs whose distribution conditions are different, write to the author
|
|
||||||
to ask for permission. For software which is copyrighted by the Free
|
|
||||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
|
||||||
make exceptions for this. Our decision will be guided by the two goals
|
|
||||||
of preserving the free status of all derivatives of our free software and
|
|
||||||
of promoting the sharing and reuse of software generally.
|
|
||||||
|
|
||||||
NO WARRANTY
|
|
||||||
|
|
||||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
|
||||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
|
||||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
|
||||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
|
||||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
||||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
|
||||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
|
||||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
|
||||||
REPAIR OR CORRECTION.
|
|
||||||
|
|
||||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
|
||||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
|
||||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
|
||||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
|
||||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
|
||||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
|
||||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
|
||||||
POSSIBILITY OF SUCH DAMAGES.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
|
http://www.opensource.org/licenses/mit-license.php
|
||||||
|
|||||||
708
ChangeLog
708
ChangeLog
@@ -1,7 +1,705 @@
|
|||||||
|
|
||||||
------ current release ---------------------------
|
------ current release ---------------------------
|
||||||
|
|
||||||
1.9.3 (11/08/2010)
|
2.2.0 (2013-04-07)
|
||||||
|
|
||||||
|
Features
|
||||||
|
+ Added Feature #685, which provides a 'blocking' report, and new color rule
|
||||||
|
(thanks to Michelle Crane).
|
||||||
|
+ Added Feature #953, which includes the total number of blocked and blocking
|
||||||
|
tasks to the 'statistics' command output (thanks to T. Charles Yun).
|
||||||
|
+ Added Feature #1039, which adds new date shortcuts, 'socm' and 'eocm',
|
||||||
|
meaning start and end of current month (thanks to Thomas Sullivan,
|
||||||
|
Louis-Claude Canon).
|
||||||
|
+ Added Feature #1061, which allows the 'columns' command to use a search
|
||||||
|
string for the column name (thanks to Uli Martens).
|
||||||
|
+ Added Feature #1069, which gives a clearer error when a UDA
|
||||||
|
is added without the uda.<uda-name>.type variable.
|
||||||
|
+ Added Feature #1099, which supports the 'color.uda.<uda-name>' color rule
|
||||||
|
(thanks to Florian Hollerweger).
|
||||||
|
+ Added Feature #1124, which provides a '_show' command that displays all
|
||||||
|
configuration defaults and settings, for use by third-party software (thanks
|
||||||
|
to Jake Bell).
|
||||||
|
+ Added feature #1147, applying patch to display duration of each activity
|
||||||
|
session (thanks to Justin Forest).
|
||||||
|
+ The 'projects' command now outputs abstract parents and reduces
|
||||||
|
repetition by not printing parent names in front of children names.
|
||||||
|
+ Added framework for testing bash autocompletion.
|
||||||
|
+ New helper command '_aliases' for autocompletion purposes.
|
||||||
|
+ Stop consider new tasks after quitting a bulk change.
|
||||||
|
+ Removed deprecated 'fg:' and 'bg:' attributes.
|
||||||
|
+ The 'diagnostics' command now reports libuuid details.
|
||||||
|
+ New characters for parsing and formating dates ('n', 's' and 'v').
|
||||||
|
+ Virtual tags (BLOCKED, UNBLOCKED, BLOCKING, DUE, DUETODAY, TODAY, OVERDUE,
|
||||||
|
ACTIVE, SCHEDULED, CHILD, UNTIL, WAITING and ANNOTATED).
|
||||||
|
+ New 'modified' attribute, which contains the most recent modification date,
|
||||||
|
if a modification has occurred.
|
||||||
|
+ Fixed the mechanism used for selecting translations (thanks to Fidel Mato).
|
||||||
|
+ Added new export script: export-tsv.pl.
|
||||||
|
+ Added the configuration variable 'print.empty.columns'.
|
||||||
|
+ The 'push' and 'pull' commands now properly distinguish between a missing
|
||||||
|
transport utility and other errors (thanks to Russell Steicke).
|
||||||
|
+ Removed support for Lua extensions.
|
||||||
|
+ Added tips.fr-FR (thanks to YBSAR).
|
||||||
|
+ Added tips.es-ES (thanks to Fidel Mato).
|
||||||
|
|
||||||
|
Bugs
|
||||||
|
+ Fixed bug #642, so that the default 'data.location=~/.task' preserves the
|
||||||
|
'~', leading to more portable .taskrc files (thanks to alparo).
|
||||||
|
+ Fixed bug #947, #1031, which kept expanding aliases after the '--' operator
|
||||||
|
(thanks to Jim B).
|
||||||
|
+ Fixed bug #1038, which prints blank lines with bulk changes and when the
|
||||||
|
verbose attributes does not specify it. Lines do a better separation between
|
||||||
|
each changes also.
|
||||||
|
+ Fixed bug #1042, where the 'diagnostics' command failed to detect missing
|
||||||
|
external utilities on Solaris and NetBSD.
|
||||||
|
+ Fixed bug #1043, where aliases were not recognized by bash autocompletion.
|
||||||
|
+ Fixed bug #1044, where 'task projects' considers newly deleted tasks and
|
||||||
|
provides an incorrect summary.
|
||||||
|
+ Fixed bug #1047, which caused extra commas in exported JSON when UDA orphans
|
||||||
|
were present (thanks to Thomas Sullivan).
|
||||||
|
+ Fixed bug #1048, which segfaulted rather than complain about syntax (thanks
|
||||||
|
to Bryce Harrington, Štěpán Henek).
|
||||||
|
+ Fixed bug #1053, where ' characters were not escaped by export-csv.pl (thanks
|
||||||
|
to John Florian).
|
||||||
|
+ Fixed bug #1056, where CmdSummary did not print abstract parents.
|
||||||
|
+ Fixed bug #1059, where CmdEdit was running garbage collection.
|
||||||
|
+ Fixed bug #1060, where an error was not thrown correctly.
|
||||||
|
+ Fixed bug #1063, so that numeric UDA fields are now sortable (thanks to Max
|
||||||
|
Muller).
|
||||||
|
+ Fixed bug #1065, where CmdShow issued messages in incorrect situations.
|
||||||
|
+ Partially fixed #1083, which showed 'task 0 ...' when modifying a non-
|
||||||
|
pending task (thanks to Aikido Guy).
|
||||||
|
+ Fixed bug #1087, which gave incorrect task/line counts under certain
|
||||||
|
conditions.
|
||||||
|
+ Fixed bug #1091, allowing filters to use 'urgency.over:4.5'.
|
||||||
|
+ Fixed bug #1110, which did not treat 'status:Completed' the same
|
||||||
|
as 'status:completed' (thanks to Aikido Guy).
|
||||||
|
+ Fixed bug #1118, which dropped changes after edits were rejected (thanks to
|
||||||
|
Ben Boeckel).
|
||||||
|
+ Fixed bug #1123, which caused the undo of a 'log' command to corrupt the data
|
||||||
|
file (thanks to Tim None).
|
||||||
|
+ Fixed bug #1128, which caused 'age' columns to be right-justified instead of
|
||||||
|
left-justified (thanks to Steve Rader).
|
||||||
|
+ Fixed bug #1136, #1177, which incorrectly line-wrapped tasks with annotations
|
||||||
|
(thanks to Steve Rader, T. Charles Yun).
|
||||||
|
+ Fixed bug #1135, #1137, which caused file locks to be non-blocking (thanks
|
||||||
|
to Steve Rader).
|
||||||
|
+ Fixed bug #1150, which referenced deprecated features in the tutorial man
|
||||||
|
page (thanks to Benjamin Weber).
|
||||||
|
+ Fixed bug #1154, which now allows priorities to be specified in any case.
|
||||||
|
+ Fixed bug #1178, which included binary libraries in the released source
|
||||||
|
package (thanks to Jakub Wilk).
|
||||||
|
+ Fixed bug #1181, where single-character columns were often rendered using
|
||||||
|
widths larger than 1 (thanks to Max Muller).
|
||||||
|
+ Fixed bug #1183, correcting error message typos (thanks to Jakub Wilk).
|
||||||
|
+ Fixed bug #1184, correcting man page formatting (thanks to Jakub Wilk).
|
||||||
|
+ Fixed bug #1185, correcting man page install location for out-of-tree
|
||||||
|
builds (thanks to Jakub Wilk).
|
||||||
|
+ Fixed bug #1189, which caused wide Asian UTF8 characters to be measured as
|
||||||
|
narrow characters (thanks to Roy Zuo).
|
||||||
|
+ Fixed bug #1191, which kept file locks active for longer than necessary,
|
||||||
|
and caused the 'execute' command to be considered a 'write' command.
|
||||||
|
+ Fixed bug #1192, which failed to expand braces internally, as POSIX /bin/sh
|
||||||
|
does not do {} expansion, thereby causing push/pull errors (thanks to Russell
|
||||||
|
Steicke).
|
||||||
|
+ Fixed bug #1194, so that $HOME has precedence over the passwd db when looking
|
||||||
|
for the user's home directory (thanks to Jakub Wilk).
|
||||||
|
+ Fixed bug #1199, where 'stat' was used instead of 'lstat' (thanks to Jakub
|
||||||
|
Wilk).
|
||||||
|
+ Fixed bug #1200, where directory removal didn't handle d_type==DT_UNKNOWN
|
||||||
|
(thanks to Jakub Wilk).
|
||||||
|
+ Fixed bug #1209, spelling mistake in reference page (thanks to Friedrich
|
||||||
|
Heusler).
|
||||||
|
+ Fixed bug #1210 so that widths are taken from localized strings instead of
|
||||||
|
hardcoded.
|
||||||
|
+ Fixed bug #1218 so that description columns minimum width is calculated
|
||||||
|
correctly.
|
||||||
|
+ Improved hyphenation by splitting on commas (even if no whitespace after).
|
||||||
|
Leads to better output of, for example, 'task show', where comma-separated
|
||||||
|
lists are common.
|
||||||
|
+ No more bash completion of, for example, 'projABC:', or of 'proj:' if
|
||||||
|
abbreviation.minimum is greater than 4.
|
||||||
|
+ Fixed bug where shadow files are not properly created when there is a missing
|
||||||
|
.taskrc file (thanks to Pietro Cerutti).
|
||||||
|
+ Fixed bug with 'socm' date calculation that failed on some days, by
|
||||||
|
simplifying the implementation.
|
||||||
|
+ Fix a bug where 'print.empty.columns=no' resulted in never printing the
|
||||||
|
project column.
|
||||||
|
+ Integrated latest UTF8 character width calculations from Markus Kuhn.
|
||||||
|
+ Fixed bug where localized UTF8 strings were not properly substr'd (thanks to
|
||||||
|
Fidel Mato).
|
||||||
|
+ Fixed a bug where the bash completion script was causing gc() to be run.
|
||||||
|
+ Fixed manpages that were not installed when running an out-of-source build
|
||||||
|
(thanks to Vincent Petithory).
|
||||||
|
+ Added missing localized confirmation strings (thanks to Rainer Müller).
|
||||||
|
+ Fixed bug that added an extra newline after setting the terminal title
|
||||||
|
(thanks to Rainer Müller).
|
||||||
|
+ Fixed a bug where the terminal title was tried to be set without a tty
|
||||||
|
(thanks to Rainer Müller).
|
||||||
|
+ Fixed hook tests to work on released code (thanks to Jakub Wilk).
|
||||||
|
+ Fixed bug where arguments passed to 'task execute' needed double escaping.
|
||||||
|
+ Fixed a bug so that the report filter order is preserved, to enable an
|
||||||
|
optimization that was being skipped.
|
||||||
|
|
||||||
|
------ old releases ------------------------------
|
||||||
|
|
||||||
|
2.1.2 (2012-09-18) 1e3176ed70d2b50faf03838d0df279b2a4ae93b2
|
||||||
|
|
||||||
|
Bugs
|
||||||
|
+ Bug fix release regarding #1104, which causes duplicate UUIDs during
|
||||||
|
the merge command.
|
||||||
|
+ Fixed bug where shadow files are not properly created when there is a missing
|
||||||
|
.taskrc file (thanks to Pietro Cerutti).
|
||||||
|
|
||||||
|
2.1.1 (2012-07-24) 46c5f8b826838ce96d9df7fcd3039de3c43483dd
|
||||||
|
|
||||||
|
Bugs
|
||||||
|
+ Fixed bug that caused misplaced commas in JSON export (thanks to greenskeleton).
|
||||||
|
+ Fixed bug #1036, which prevents 'until' attributes to be modified for
|
||||||
|
non-recurring tasks (thanks to Stéphane Pezennec).
|
||||||
|
|
||||||
|
2.1.0 (2012-07-23) a413331c9450b48065f94639e7ab0455eaa74293
|
||||||
|
|
||||||
|
Features
|
||||||
|
+ Feature #164, #325, #339, #435, #553, #554, #975, User Defined Attributes.
|
||||||
|
+ Feature #457, #922, tasks may now be given an 'until' date, after which they
|
||||||
|
expire and are deleted.
|
||||||
|
+ Feature #516, which allows the duplication of completed tasks (thanks to
|
||||||
|
Peter De Poorter, Ethan Schoonover).
|
||||||
|
+ Feature #921, which implements a 'udas' command that describes defined UDAs,
|
||||||
|
and a '_udas' for completion purposes. Also detects UDA orphans.
|
||||||
|
+ Applied patch for feature #1005, which prevents the update-holidays.pl script
|
||||||
|
from creating duplicate holidays (thanks to Jörg Plate).
|
||||||
|
+ Added the new 'indented' format for the 'project' attribute.
|
||||||
|
+ The 'projects' report now uses 'project.indented' format.
|
||||||
|
+ The 'summary' report now uses 'project.indented' format.
|
||||||
|
+ Applied patch to allow ID ranges and UUIDs when editing dependencies (thanks
|
||||||
|
to Louis-Claude Canon).
|
||||||
|
+ Supports 'scheduled' date for tasks, which represent the earliest opportunity
|
||||||
|
to work on a task.
|
||||||
|
+ Performance improvements:
|
||||||
|
+ Added parse-free convenience functions
|
||||||
|
+ Filter optimization: with no 'OR' or 'XOR' operators, no UUIDS but with IDs
|
||||||
|
the completed.data file is not referenced.
|
||||||
|
+ Reduced excessive number of sort columns on certain reports
|
||||||
|
+ Speed boost for 'next' report.
|
||||||
|
+ Similar helper subcommands for 'uuids' as for there is for 'ids' (_uuids and
|
||||||
|
_zshuuids).
|
||||||
|
+ Possible to specify the date format when editing with 'dateformat.edit'.
|
||||||
|
+ Possible to specify the date format when showing information about a task
|
||||||
|
with 'dateformat.info'.
|
||||||
|
+ Bash script improvement (column names are now completed).
|
||||||
|
+ Feature #1013, output error, header, footnote and debug messages on standard error.
|
||||||
|
+ Feature #1026, command line overrides are now applied before and after the
|
||||||
|
creation of the default rc file and data directory, which allows for
|
||||||
|
programmatic initialization without keystroke synthesis (thanks to Nicholas
|
||||||
|
Rabenau).
|
||||||
|
+ Feature #1033 allows UDAs to contribute to urgency (thanks to Max Muller).
|
||||||
|
+ Color error messages with a specific configuration variable 'color.error'.
|
||||||
|
|
||||||
|
Bugs
|
||||||
|
+ Fixed bug #734, which allows a sequence of IDs to work when modifying the
|
||||||
|
attribute "depends" (thanks to Andreas Kalex).
|
||||||
|
+ Applied patch for bug #919, so the holidays listed on the 'calendar' report
|
||||||
|
are sorted (thanks to Jörg Plate).
|
||||||
|
+ Fixed bug #954, which caused bulk deletions when using a UUID filter term and
|
||||||
|
the delete command (thanks to Bryce Harrington).
|
||||||
|
+ Fixed bug #959, which forces use of dateformat for annotations when using the
|
||||||
|
'edit' command (thanks to Louis-Claude Canon).
|
||||||
|
+ Fixed bug #964, where the 'projects' command showed the wrong priority labels
|
||||||
|
(thanks to Ali Mousavi).
|
||||||
|
+ Fixed bug #967, which did not properly determine character widths for UTF8
|
||||||
|
characters (thanks to Victor Roetman, Jörg Plate, Markus Kuhn).
|
||||||
|
+ Fixed bug #968, improving online documentation or dependencies (thanks to
|
||||||
|
Marek Vitek).
|
||||||
|
+ Fixed bug #972, #1018, which caused a recurrence of "7" to be interpreted as
|
||||||
|
"7secs", instead of generating an error (thanks to Vlad Zhivotnev, Stanley G).
|
||||||
|
+ Fixed bug #973, including 'urgency' in the 'export' output (thanks to Andy
|
||||||
|
Spiegl).
|
||||||
|
+ Fixed bug #986, so that the 'info' report uses the correct date format, also
|
||||||
|
applied patch to correct documentation and add unit tests (thanks to
|
||||||
|
Louis-Claude Canon).
|
||||||
|
+ Applied patch for bug #987, so that total active time does not continue to
|
||||||
|
accumulate after an active task is completed (thanks to Louis-Claude Canon).
|
||||||
|
+ Fixed bug #988, updating the documentation so that 'undo.data' usage is more
|
||||||
|
clearly stated (thanks to Louis-Claude Canon).
|
||||||
|
+ Applied patch for bug #991, which removes an obsolete consistency check
|
||||||
|
(thanks to Louis-Claude Canon).
|
||||||
|
+ Fixed bug #995, which mis-parsed UUIDs in filters as other elements (thanks
|
||||||
|
to Bryce Harrington).
|
||||||
|
+ Fixed bug #996, so that verbosity code and documentation are in agreement,
|
||||||
|
and that the 'verbose=off' works as intended (thanks to Peter De Poorter,
|
||||||
|
Louis-Claude Canon).
|
||||||
|
+ Fixed bug #997, so that output is correctly controlled by the 'affected'
|
||||||
|
verbosity token.
|
||||||
|
+ Fixed grammar in feedback string (thanks to Uli Martens).
|
||||||
|
+ Addressed valgrind complaints (thanks to Bryce Harrington).
|
||||||
|
+ Removed default configuration value for the obsolete 'annotations' setting.
|
||||||
|
+ Corrected rounding errors on burndown chart bar size calculations (thanks to
|
||||||
|
Uli Martens).
|
||||||
|
+ Fixed bug where '6 months' was interpreted as 180 days, but when rendered
|
||||||
|
was shown as '5 months' (thanks to Aikido Guy).
|
||||||
|
+ Fixed bug where ISO dates were parsed and the TZ was modified, which should
|
||||||
|
have no bearing on a Zulu time.
|
||||||
|
+ Fixed man page typos.
|
||||||
|
+ Fixed incorrect Lua API return value (thanks to Oleksii Tsai).
|
||||||
|
+ Fixed bug #956, which prevents 'ids', 'uuids' and helper commands to be used
|
||||||
|
directly by external script when a variable is override.
|
||||||
|
+ Fixed bug #960, which caused tab-completion to fail after any non-ASCII alpha
|
||||||
|
characters were used in a description (thanks to Hyde Stevenson).
|
||||||
|
+ Fixed bug #962 that rename the bash completion script in prevision of future
|
||||||
|
2.0 bash release.
|
||||||
|
+ Fixed bug #990, which prevents color precedence to be applied correctly for
|
||||||
|
tagged tasks.
|
||||||
|
+ Fixed bug #1001, which caused a segv (thanks to Bryce Harrington).
|
||||||
|
+ Fixed bug #872, #945, #1006, #1024, which caused words like the German 'im'
|
||||||
|
and 'des' in a description to be expanded into 'imask' and 'description'
|
||||||
|
(thanks to Michelle Crane, Louis-Claude Canon, Stephen Hay and Martin U).
|
||||||
|
+ Fixed bug #1008, which failed to remove tasks with the special tag '+nocal'
|
||||||
|
from the calendar report output with 'calendar.details=full' set (thanks to
|
||||||
|
Bryan Kam).
|
||||||
|
+ Fixed bug #1012, which failed to install add-on scripts with execute
|
||||||
|
permission.
|
||||||
|
+ Fixed bug #1016, which caused segfaults when importing JSON with annotations
|
||||||
|
that lack description or entry date (thanks to Nicholas Rabenau).
|
||||||
|
+ Fixed bug #1017, which exported invalid JSON when there were no tasks (thanks
|
||||||
|
to Nicholas Rabenau).
|
||||||
|
+ Fixed bug #1022, where dependencies were note released when a blocking task
|
||||||
|
was completed (thanks to Arkady Grudzinsky).
|
||||||
|
+ Fixed bug #1023, which applied default.project and default.priority during
|
||||||
|
modification (thanks to Christoph Lange).
|
||||||
|
+ Fixed bug #1028, so that UDA durations are stored in seconds, not in raw form
|
||||||
|
(thank to Uli Martens).
|
||||||
|
+ Fixed bug #1030, which defines a portable implementation of timegm and removes
|
||||||
|
the use of tm_gmtoff for non GNU/BSD platforms.
|
||||||
|
+ Fixed bug #1032, which prevented negative urgency coefficients from working
|
||||||
|
for projects and tags.
|
||||||
|
|
||||||
|
2.0.0 (2012-03-17) 03799eba9f230e48c4fa6d6ebddabe91bef7998f
|
||||||
|
|
||||||
|
# Untracked Features, biggest first.
|
||||||
|
+ autoconf eliminated.
|
||||||
|
+ New 'ids' command that returns a filtered set of task ID numbers, instead
|
||||||
|
of the actual tasks. Similarly there is a 'uuids' commands.
|
||||||
|
+ Corrected sorting to use std::stable_sort instead of std::sort, which is not
|
||||||
|
guaranteed stable (thanks to Stefan Hacker).
|
||||||
|
+ Enhanced diagnostics command.
|
||||||
|
+ Performance enhancements.
|
||||||
|
+ The old 'curses' configuration variable is now replaced by 'detection', and
|
||||||
|
has the same meaning - whether or not to auto-detect terminal size.
|
||||||
|
+ Added Czech Republic holiday files (thanks to Tomas Cech).
|
||||||
|
+ Added Japanese holiday files (thanks to Takanobu Watanabe).
|
||||||
|
+ All holiday files have been renamed to include a locale, rather than just a
|
||||||
|
country code. For example: holidays.en-US.rc.
|
||||||
|
+ Now ships with an add-on script, update-holidays.pl, which contacts
|
||||||
|
http://holidata.net, and brings the installed holiday files up to date.
|
||||||
|
+ Extension system now controlled by the 'extensions' configuration variable.
|
||||||
|
+ HTML export in the form of an external scripts export-html.pl.
|
||||||
|
+ Two additional solarized theme files, solarized-dark-256.theme and
|
||||||
|
solarized-light-256.theme (thanks to Stefan Keel).
|
||||||
|
+ New 'dependency.indicator' configuration variable for the depends.indicator
|
||||||
|
report field.
|
||||||
|
+ New 'indent.annotation' for the 'description.default' field format.
|
||||||
|
+ New 'color.label' for colorizing the report column labels.
|
||||||
|
+ The 'blanklines' configuration variable now replaced by the 'verbose' token
|
||||||
|
'blanklines'.
|
||||||
|
+ The 'verbose' configuration variable now accepts a specific list of items to
|
||||||
|
be verbose about. See taskrc(5).
|
||||||
|
+ New 'execute' command that runs external programs.
|
||||||
|
+ The default export format is now JSON.
|
||||||
|
+ The configuration variable 'json.array' determines whether 'query' command
|
||||||
|
output is enclosed by '[...]'.
|
||||||
|
+ The duration 'm' is now interpreted as 'months', not 'minutes'.
|
||||||
|
+ Urgency now has an 'age' component.
|
||||||
|
+ Improved text wrapping of UTF8 text.
|
||||||
|
+ When duplicating a parent recurring task, a new recurring parent task is
|
||||||
|
created. When a child recurring task is duplicated, a plain task is created.
|
||||||
|
+ The 'diagnostics' command now checks for duplicate UUID values in the data.
|
||||||
|
|
||||||
|
# Tracked Features, sorted by ID.
|
||||||
|
+ Added feature #52, which provides improved text-wrapping support for UTF-8
|
||||||
|
descriptions.
|
||||||
|
+ Added feature #278, which provides a more consistent command line grammar.
|
||||||
|
+ Added feature #318, which shows a full edit history in the 'info' report,
|
||||||
|
when enabled by 'journal.info=on'
|
||||||
|
+ Added feature #330, which supports the 'inverse' color attribute.
|
||||||
|
+ Added feature #340, which implements new color rules 'color.completed' and
|
||||||
|
'color.deleted'.
|
||||||
|
+ Added feature #422, #566 and #639, which allow task modifications during
|
||||||
|
'done', 'delete', 'start', 'stop' and 'duplicate' commands (thanks to Max
|
||||||
|
Muller).
|
||||||
|
+ Added feature #474, which means the 'info' command accepts filters.
|
||||||
|
+ Added feature #479, which enables filtering for the 'calendar' command.
|
||||||
|
+ Added feature #496, which allows rc.default.command to be supplemented with
|
||||||
|
a filter, so that 'task project:Home' applies the project filter to the
|
||||||
|
default command.
|
||||||
|
+ Added feature #507, which provides an alternative mechanism for inverting
|
||||||
|
attribute modifiers, in the form of new algebraic filters (thanks to Michelle
|
||||||
|
Crane).
|
||||||
|
+ Added feature #514, which allows duplication of tasks based on a generalized
|
||||||
|
filter, rather than just IDs (thanks to Peter De Poorter).
|
||||||
|
+ Added feature #523 & #659, adding 'status' as a reportable field (thanks to
|
||||||
|
Peter De Poorter and Bryce Harrington).
|
||||||
|
+ Added feature #545, #610, #611, #646, which support complex aliases.
|
||||||
|
+ Added feature #559, that causes Taskwarrior to exit if the ~/.task (or
|
||||||
|
rc.data.location override) does not exist, controlled by the
|
||||||
|
rc.exit.on.missing.db configuration variable (thanks to Sander Marechal).
|
||||||
|
+ Added feature #571, which provides descriptive feedback when a special tag
|
||||||
|
is applied.
|
||||||
|
+ Added feature #607, which allows modification of a task during annotation
|
||||||
|
(thanks to Peter De Poorter).
|
||||||
|
+ Added feature #609, which allows suppression of output labels and verbose
|
||||||
|
text.
|
||||||
|
+ Added feature #612, so that the 'info' command displays the sum of all
|
||||||
|
active (start/stop) times for a task, if the 'journal.info' configuration
|
||||||
|
variable is set (thanks to Andy Kriger).
|
||||||
|
+ Added feature #632, which allows environment variables TASKRC and TASKDATA
|
||||||
|
to override .taskrc and .task directory locations (thanks to Steve Rader).
|
||||||
|
+ Added feature #657 & #658, using the 'ids' command, tasks matching a filter
|
||||||
|
can now be modified as a group (thanks to Bryce Harrington, Eric Fluger).
|
||||||
|
+ Added feature #679, which makes color rules match project names in a left-
|
||||||
|
most fashion, like filters (thanks to ch077179).
|
||||||
|
+ Added feature #682, which allows the configuration variable 'defaultheight'
|
||||||
|
to override the assumed height of 24 lines when 'detection' is not enabled
|
||||||
|
(thanks to Steve Rader).
|
||||||
|
+ Added feature #700, which adds tab-completion of built-in tags.
|
||||||
|
+ Added feature #710, which adds an attribute modifier prefix to return the
|
||||||
|
complement of a filtered set (thanks to Dan White).
|
||||||
|
+ Added feature #714, including Belarus holidays (thanks to Alexei Romanoff).
|
||||||
|
+ Added feature #725, which provides feedback when tasks become unblocked.
|
||||||
|
+ Added feature #733, including Czech holidays (thanks to Tomas Cech).
|
||||||
|
+ Added feature #740, that allows for indented annotations, controlled by the
|
||||||
|
'indent.annotation' configuration variable (thanks to Steve Rader, Tomas
|
||||||
|
Cech).
|
||||||
|
+ Added feature #755, adding a new command 'reports' that lists reports and
|
||||||
|
their descriptions.
|
||||||
|
+ Added feature #779, which uses more relevant and consistent terms on the
|
||||||
|
'burndown' charts.
|
||||||
|
+ Added feature #800, adding a new command 'columns' that lists all the columns
|
||||||
|
available for custom reports, and includes their formatting options (thanks
|
||||||
|
to T. Charles Yun).
|
||||||
|
+ Added feature #806, which provides the ability to compare dates using the
|
||||||
|
relational operator '>=' (thanks to Miguel de Val Borro).
|
||||||
|
+ Added feature #811, which makes the 'execute' command optional, and
|
||||||
|
controlled by '#define HAVE_EXECUTE 1' in cmake.h. This allows a build
|
||||||
|
that does not have the potential security hole, in the event that taskwarrior
|
||||||
|
is run at elevated privilege, or run in the context of a web server.
|
||||||
|
+ Added feature #813, new "eoq" and "soq" dates for the end and start of
|
||||||
|
quarter. (thanks to Dave French and Paulo Almeida for the patch).
|
||||||
|
+ Added feature #827, which allows augmentation of default.command with extra
|
||||||
|
arguments, when default.command itself contains mulitple arguments (thanks to
|
||||||
|
Aikido Guy).
|
||||||
|
+ Added feature #891, which allows for leftmost partial matches of UUID values.
|
||||||
|
|
||||||
|
# Tracked Bugs, sorted by ID.
|
||||||
|
+ Fixed bug #208, which addresses various problems with recurring tasks, and
|
||||||
|
change propagation.
|
||||||
|
+ Fixed bug #403, which disambiguates certain commands involving numbers.
|
||||||
|
+ Fixed bug #447, #942, which only allowed dates to be edited if they changed
|
||||||
|
day (thanks to Michelle Crane and Owen Clarke).
|
||||||
|
+ Fixed bug #458, removing the ambiguous 'm' as a duration, leaving 'mi[nutes]'
|
||||||
|
and 'mo[nths]' requiring at least two characters for a match.
|
||||||
|
+ Fixed bug #475, which allowed a blank annotation command to be entered
|
||||||
|
(thanks to Andreas Kalex).
|
||||||
|
+ Fixed bug #511, which caused display problem on Cygwin when colored output
|
||||||
|
used the full width of the terminal. The 'avoidlastcolumn' configuration
|
||||||
|
variable forces taskwarrior to never use the last column.
|
||||||
|
+ Fixed bugs #533 and #536, which prevented having correct paths for themes
|
||||||
|
in .taskrc (thanks to Juergen Daubert)
|
||||||
|
+ Fixed bug #552, where 'rc.verbose=off' suppressed warnings (thanks to Peter
|
||||||
|
De Poorter).
|
||||||
|
+ Fixed bug #594, which broke the 'all' report with a combination of bad regex
|
||||||
|
handling and a formatting bug (thanks to Steve Rader).
|
||||||
|
+ Fixed bug #605, which gave misleading project completion percentages under
|
||||||
|
certain circumstances (thanks to Steve Rader).
|
||||||
|
+ Fixed bug #636, which causes the burndown reports to not honor the
|
||||||
|
_forcecolor=off setting (thanks to Steve Rader, Uli Martens).
|
||||||
|
+ Fixed bug #645 & #660, which prevented logically combining report filters
|
||||||
|
(thanks to Bryce Harrington).
|
||||||
|
+ Fixed bug #683, in which the 'config' command sometimes edited comments
|
||||||
|
instead of the proper line in .taskrc (thanks to Erlan Sergaziev).
|
||||||
|
+ Fixed bug #691, which was a mis-reporting of file lock state even when file
|
||||||
|
locking was turned off (thanks to Tom Duffy).
|
||||||
|
+ Fixed bug #694, which allows attributes to be modified while annotating a
|
||||||
|
task (thanks to Aikido Guy).
|
||||||
|
+ Fixed bug #696, where the command line parser was confused by a single '-'
|
||||||
|
or '+' character.
|
||||||
|
+ Fixed bug #699, truncated ssh://... during autopush after merge.
|
||||||
|
+ Fixed bug #703, where global substitutions didn't make all expected
|
||||||
|
annotation changes.
|
||||||
|
+ Fixed bug #704, which improved wording of journal messages.
|
||||||
|
+ Fixed bug #706, where deletions were recorded in the journal twice.
|
||||||
|
+ Fixed bug #707, which had inverted logic with the urgency calculation for
|
||||||
|
blocked tasks.
|
||||||
|
+ Fixed bug #708, which corrected bad math in project % complete calculations
|
||||||
|
(thanks to Michelle Crane).
|
||||||
|
+ Fixed bug #713, which fixes typos in the holidays-UK.rc file (thanks to
|
||||||
|
Alexei Romanoff).
|
||||||
|
+ Fixed bug #720, so that when the 'info' report renders total active time,
|
||||||
|
it uses a lossless format (thanks to Bernhard B).
|
||||||
|
+ Fixed bug #722, #801, so that all recurring task change propagations are
|
||||||
|
confirmed (thanks to Arkady Grudzinsky).
|
||||||
|
+ Fixed bug #723, which displayed a misleading message when the output was
|
||||||
|
truncated to a page.
|
||||||
|
+ Fixed bug #732, which fixes misleading messages and documentation for
|
||||||
|
merge/push/pull URIs (thanks to Tomas Cech).
|
||||||
|
+ Fixed bug #737, which allows wait dates after due dates, but provides a
|
||||||
|
warning (thanks to Arkady Grudzinsky).
|
||||||
|
+ Fixed bug #741, which miscounted columns widths when a table header used
|
||||||
|
unicode characters (thanks to Tomas Cech).
|
||||||
|
+ Fixed bug #744, which omitted new ID feedback for all but the first
|
||||||
|
duplicated task (thanks to Uli Martens).
|
||||||
|
+ Fixed bug #745, which allows projects names with spaces, provided the values
|
||||||
|
are quoted (thanks to Duane Waddle).
|
||||||
|
+ Applied patch for Bug #746, which added missing documentation for the 'entry'
|
||||||
|
report column (thanks to Duane Waddle).
|
||||||
|
+ Fixed bug #761, in which the 'prepend' and 'append' commands failed to
|
||||||
|
generate an error when no text was provided (thanks to Aikido Guy).
|
||||||
|
+ Fixed bug #762, #763, so that modifications to tasks are considered 'write'
|
||||||
|
commands, and therefore update shadow files (thanks to Aikido Guy).
|
||||||
|
+ Applied patch for Bug #770, which fixed a broken build (thanks to Christopher
|
||||||
|
J. Pilkington).
|
||||||
|
+ Applied patch for Bug #771, which looks for libuuid if uuid_unparse_lower is
|
||||||
|
not located (thanks to Christopher J. Pilkington).
|
||||||
|
+ Fixed bug #777, which prevented _query command output from passing JSON
|
||||||
|
validation due to missing [] around the task list.
|
||||||
|
+ Fixed bug #781, which prevented tasks with dependencies from showing on the
|
||||||
|
'next' report (thanks to Wim Schuermann).
|
||||||
|
+ Fixed bug #783, which fixes completed and deleted tasks still showing as
|
||||||
|
active (thanks to Adam Wolk).
|
||||||
|
+ Fixed bug #785, which fixes a broken build on Solaris (thanks to Owen
|
||||||
|
Clarke).
|
||||||
|
+ Fixed bug #788, which reported regex and readline versions, even though they
|
||||||
|
are not used.
|
||||||
|
+ Applied patches for bugs #792, #793, #794 and #795, so that cmake now
|
||||||
|
recognizes and builds on Solaris (thanks to Owen Clarke).
|
||||||
|
+ Applied patch for bug #797 which corrects a build problem with 'srandom'
|
||||||
|
(thanks to Owen Clarke).
|
||||||
|
+ Applied patches for bug #798 which allows out-of-source builds (thanks to
|
||||||
|
Ben Boeckel).
|
||||||
|
+ Applied documentation patch for #799, fixing a broken link in the man page
|
||||||
|
(thanks to Bryce Harrington).
|
||||||
|
+ Applied patch for #803, allowing rc.confirmation to bypass confirmation of
|
||||||
|
the deletion of a recurring task (thanks to Matt Kraai).
|
||||||
|
+ Addressed bug #804 by allowing rc.hyphenate to control whether hyphens are
|
||||||
|
inserted when long lines are broken. This may help prevent xterm from
|
||||||
|
mis-parsing URLs in task annotations, when wrapped (thanks to Yann Davin).
|
||||||
|
+ Fixed bug #807, which caused a lack of Lua to prevent tests from building
|
||||||
|
(thanks to Owen Clarke).
|
||||||
|
+ Fixed bug #808, which generated compiler warnings on Solarix (thanks to
|
||||||
|
Owen Clarke).
|
||||||
|
+ Fixed bug #817, which caused a build problem with a Core2 Duo processor on a
|
||||||
|
Mac OSX 10.6 machine. Notes updated in INSTALL file (thanks to John
|
||||||
|
Hammond).
|
||||||
|
+ Fixed bug #818, which caused partial tag matching (thanks to Joe Holloway).
|
||||||
|
+ Fixed bug #822, #845, which generated incorrect IDs (thanks to Matt Kraai and
|
||||||
|
Michelle Crane).
|
||||||
|
+ Fixed bug #823, so that recurring task change propagations are now always
|
||||||
|
confirmed (thanks to Miguel de Val Borro).
|
||||||
|
+ Fixed bug #824, which caused probles when completing recurring tasks (thanks
|
||||||
|
to Matt Kraai).
|
||||||
|
+ Fixed bug #831, which prevented some date fields from being properly parsed.
|
||||||
|
+ Fixed bug #835, which prevented hierarchical projects from being recognized.
|
||||||
|
+ Fixed bug #836, which preserves numeric arguments as-is (thanks to Matt Kraai
|
||||||
|
for the patch).
|
||||||
|
+ Fixed bug #837, which caused incorrect urgency calculations for tasks that
|
||||||
|
have completed dependencies, and problems when editing those tasks (thanks
|
||||||
|
to Matt Kraai).
|
||||||
|
+ Fixed bug #839, which caused problems when recurrence frequencies of '1m'
|
||||||
|
were used. This is an obsolete form, and should now be '1mo' (thanks to
|
||||||
|
Gour D).
|
||||||
|
+ Fixed bug #846, which prevented the default.command configuration from
|
||||||
|
handling multiple arguments (thanks to Uli Martens).
|
||||||
|
+ Fixed bug #850, which failed when newline characters were in a modified task
|
||||||
|
description. They are now stripped (thanks to Aikido Guy).
|
||||||
|
+ Fixed bug #851, which failed to recognize durations like '1day' when
|
||||||
|
filtering date attributes (thanks to Philipp Woelfel).
|
||||||
|
+ Fixed bug #856, which prevented filters on missing project from working
|
||||||
|
(thanks to Michelle Crane).
|
||||||
|
+ Fixed bug #859, which used only one color for the 'ghistory.*' report
|
||||||
|
legends (thanks to Uli Martens).
|
||||||
|
+ Fixed bug #860, which prevented lower-case priority values from being
|
||||||
|
accepted (thanks to Michelle Crane).
|
||||||
|
+ Fixed bug #862, which suppressed feedback from the 'denotate' command.
|
||||||
|
+ Fixed bug #863, which suppressed report labels with rc.verbose=off (thanks to
|
||||||
|
Michelle Crane).
|
||||||
|
+ Fixed bugs #865 and #886, which caused silent failure of unrecognized dates
|
||||||
|
(thanks to Michelle Crane).
|
||||||
|
+ Fixed bug #879, which mis-parsed escaped characters in the data file (thanks
|
||||||
|
to Michelle Crane).
|
||||||
|
+ Fixed bug #880, which listed the wrong file paths for themes (thanks to Peter
|
||||||
|
Lewis).
|
||||||
|
+ Fixed bug #892, which caused a segfault due to misuse of
|
||||||
|
std::map::operator[] (thanks to Dmitriy Samborskiy).
|
||||||
|
+ Fixed bug #897, which adds the UUID field to the 'completed' report
|
||||||
|
(thanks to Eli Lev).
|
||||||
|
+ Fixed bug #899, which displayed incorrect project completion numbers (thanks
|
||||||
|
to Paul-Gheorghe Barbu).
|
||||||
|
+ Fixed bug #901, which was preventing multiple IDs and UUIDs from being used
|
||||||
|
as a filter (thanks to Bryce Harrington).
|
||||||
|
+ Fixed bug #906, which caused problems with inverted project matching (thanks
|
||||||
|
to Uli Martens).
|
||||||
|
+ Fixed bug #910, which caused unexpected behavior when duplicating a recurring
|
||||||
|
task (thanks to Jennifer Cormier).
|
||||||
|
+ Fixed bug #917, which mis-encoded quotes (thanks to Uli Martens).
|
||||||
|
+ Fixed bug #929, which corrected argument handling for aliases (thanks to Uli
|
||||||
|
Martens).
|
||||||
|
+ Fixed bug #932, which fixed change propagation for recurring tasks (thanks to
|
||||||
|
Jennifer Cormier).
|
||||||
|
+ Fixed bug #936, which caused tests to fail on Solaris (thanks to Owen Clarke).
|
||||||
|
+ Fixed bug #937, which failed 'stat' calls on Solaris (thanks to Owen Clarke).
|
||||||
|
+ Fixed bug #938, which corrected compiler warnings on Solaris (thanks to Owen
|
||||||
|
Clarke).
|
||||||
|
+ Fixed bug #944, which caused a test to fail when it was run on an NFS share.
|
||||||
|
+ Fixed bug #946, which caused 'edit' command problems when
|
||||||
|
'dateformat.annotation' did not contain any date elements (thanks to Tuomas
|
||||||
|
Toivola).
|
||||||
|
+ Fixed bug #950, which warned about dependency chain problems during
|
||||||
|
annotation, which makes no sense (thanks to Uli Martens).
|
||||||
|
+ Fixed bug #951, which caused tag filtering to fail (thanks to Max Muller).
|
||||||
|
+ Fixed bug #952, which generated cmake warnings on Cygwin.
|
||||||
|
|
||||||
|
# Untracked Bugs, biggest first.
|
||||||
|
+ Fixed bug that required the '%YAML' prologue in a YAML import.
|
||||||
|
+ Fixed bug that showed the 'due' date, under the heading 'until' date, in the
|
||||||
|
info report (thanks to Michael McCann).
|
||||||
|
+ Fixed burndown chart y-axis height calculation (thanks to Ben Boeckel).
|
||||||
|
+ Fixed missing recurrence values in zsh completion script (thanks to Ben
|
||||||
|
Boeckel).
|
||||||
|
+ Fixed problem with DOM-checking the 'limit' pseudo-attribute (thanks to
|
||||||
|
Barton Meeks).
|
||||||
|
+ Fixed problem with duplicate 'project changed' messages (thanks to Owen
|
||||||
|
Clarke).
|
||||||
|
+ Fixed problem with non-UTC defaults for "TZ" (thanks to Owen Clarke).
|
||||||
|
+ Removed use of Lua API call that is deprecated in 5.1 and removed from 5.2
|
||||||
|
(thanks to Michal Vyskocil).
|
||||||
|
+ Fixed problem where update-holidays.pl did not properly handle UTF8 JSON
|
||||||
|
data.
|
||||||
|
+ Fixed problem where update-holidays.pl did not use the YYYYMMDD date foramt.
|
||||||
|
+ Fixed problem where urgency was not properly calculated for waiting tasks.
|
||||||
|
+ Fixed problem where 'project' was not supported as a verbosity token (thanks
|
||||||
|
to Adam Gibbins).
|
||||||
|
|
||||||
|
1.9.4 (03/03/2011) b9bae255f4fa03970eced3ac0876935271d1d7a1
|
||||||
|
+ Added burndown charts - 'burndown.daily', 'burndown.weekly',
|
||||||
|
'burndown.monthly', that use 'color.burndown.pending', 'color.burndown.started'
|
||||||
|
and 'color.burndown.done' colors.
|
||||||
|
+ Added highlighting for the 'show' command that indicates which values differ
|
||||||
|
from the defaults.
|
||||||
|
+ Added change log display to the 'info' command, controlled by the
|
||||||
|
'journal.info' configuration setting.
|
||||||
|
+ Added 'description+' to all reports with duplicate sort keys, to stabilize
|
||||||
|
the sequence.
|
||||||
|
+ Added ability to temporarily suspend GC (rc.gc:0) for a given command, which
|
||||||
|
helps scriptwriters implement shadow files externally (thanks to Sander
|
||||||
|
Marechal).
|
||||||
|
+ Added alias 'export.json' that maps to the new _query helper command.
|
||||||
|
+ Added new dark-gray-256 color theme.
|
||||||
|
+ Added feature #30, which eliminates the dependency on ncurses (thanks to
|
||||||
|
Johan Friis).
|
||||||
|
+ Added feature #41, XML export in the form of add-on script export-xml.pl,
|
||||||
|
export-xml.py and export-xml.rb.
|
||||||
|
+ Added feature #157, which implements the _query command, a helper command for
|
||||||
|
script writers, which accepts a filter like any other report, but returns
|
||||||
|
only full JSON.
|
||||||
|
+ Added feature #158, regular expression support for filters and substitutions.
|
||||||
|
+ Added feature #247, providing infinite width reports when redirecting output
|
||||||
|
to a file, by setting defaultwidth to 0.
|
||||||
|
+ Added feature #309, which sets the xterm title when reports are run,
|
||||||
|
according to the configuration variable 'xterm.title', which defaults to off.
|
||||||
|
+ Added feature #546, which is a 'count' command that counts tasks, and is
|
||||||
|
intended to help scripts that manipulate task output.
|
||||||
|
+ Added feature #567, which makes it possible to apply an offset to the first
|
||||||
|
month to be displayed in the calendar report (thanks to Michelle Crane).
|
||||||
|
+ Added feature #574, default due dates (thanks to Erlan Sergaziev).
|
||||||
|
+ Added feature #575, including Danish holidays (thanks to Irfan Siddiqui).
|
||||||
|
+ Added feature #608, and now completing a task, with journal.time turned on
|
||||||
|
will stop the task first (thanks to Andy Kriger).
|
||||||
|
+ Added feature #629, a new holiday configuration file for New Zealand
|
||||||
|
(thanks to Stephen Haywood).
|
||||||
|
+ Added feature #638, a wait:later possibility (thanks to Clément Bœsch).
|
||||||
|
+ Added feature #46, proper sortable age column.
|
||||||
|
+ Added new holiday configuration file for Italy (thanks to Nicola Busanello).
|
||||||
|
+ Added new holiday configuration file for Austria (thanks to Andreas Poisel).
|
||||||
|
+ Eliminated dependency on ncurses.
|
||||||
|
+ The dependency columns are now right-justified (thanks to Eric Fluger).
|
||||||
|
+ When a date fails to parse, the expected format is displayed, as a reminder
|
||||||
|
(thanks to Eric Fluger).
|
||||||
|
+ Fixed bug that caused the 'done' command to always exit with a non-zero
|
||||||
|
status (thanks to Steve Rader).
|
||||||
|
+ Fixed bug that caused entry, end, start and wait dates to not use report-
|
||||||
|
specific date format overrides (thanks to Eric Fluger).
|
||||||
|
+ Fixed bug #485, which caused filters of 'recur' to fail for partial matches
|
||||||
|
(thanks to T. Charles Yun).
|
||||||
|
+ Fixed bug #515, which displayed an incorrect message after duplicating a
|
||||||
|
non-existent task (thanks to Peter De Poorter).
|
||||||
|
+ Fixed bug #529, where the 'depends' attribute was not mentioned in the
|
||||||
|
task man page (thanks to Dirk Deimeke).
|
||||||
|
+ Fixed bug #530, where unrecognized periods on recurring tasks were not
|
||||||
|
being properly handled (thanks to T. Charles Yun).
|
||||||
|
+ Fixed bug #535 which omitted the holidays-NO.rc file from the packages
|
||||||
|
(thanks to Jostein Berntsen).
|
||||||
|
+ Fixed bug #537, where the man page task-sync(5) mis-specified some URIs.
|
||||||
|
+ Fixed bug #538, where some color legend items were not readable.
|
||||||
|
+ Fixed bug #539, where the man page task-color(5) contained a line that
|
||||||
|
began with a ' and was not displayed.
|
||||||
|
+ Fixed bug #540, where user names containing @s could not be parsed.
|
||||||
|
+ Fixed bug #541, which prevented sorting by 'age' column in some situations.
|
||||||
|
+ Fixed bug #542, which sorted the countdown columns incorrectly (thanks to
|
||||||
|
Michelle Crane).
|
||||||
|
+ Fixed bug #555, which caused a segfault when logging a task with a project
|
||||||
|
(thanks to Itay Perl).
|
||||||
|
+ Fixed bug #564, which allowed the deletion of parent recurring tasks (thanks
|
||||||
|
to Peter De Poorter).
|
||||||
|
+ Fixed bug #570, which used unsupported brace expansion with dash (default
|
||||||
|
/bin/sh in Ubuntu).
|
||||||
|
+ Fixed bug #579, which displayed incorrect counts when using the 'limit:N'
|
||||||
|
filter (thanks to Thomas Sattler).
|
||||||
|
+ Fixed bug #580, where reusing the merge uri for autopush failed when the
|
||||||
|
uri was taken from taskrc.
|
||||||
|
+ Applied patch to fix bug #581, in which backslashes in annotations and
|
||||||
|
descriptions caused problems (thanks to Itay Perl).
|
||||||
|
+ Fixed bug #587, where the man page needed clarification on quoting some
|
||||||
|
arguments to prevent them from being broken up by the shell (thanks to
|
||||||
|
Steve Rader).
|
||||||
|
+ Fixed bug #589, where the man page did not adequately describe searching
|
||||||
|
or usage of attribute modifiers (thanks to Steve Rader).
|
||||||
|
+ Applied patch to fix bug #590, which makes the yes/no/all/quit confirmation
|
||||||
|
prompts consistent (thanks to Steve Rader).
|
||||||
|
+ Fixed bug #595, where taskwarrior ignored changes to the wait date during
|
||||||
|
the edit command, consequently not changing task status (thanks to Eric
|
||||||
|
Fluger).
|
||||||
|
+ Fixed bug #597, which caused a missing project to be counted as a project
|
||||||
|
in the projects command (thanks to Steve Rader).
|
||||||
|
+ Fixed bug #603, which caused no feedback when task IDs were not specified
|
||||||
|
(thanks to Steve Rader).
|
||||||
|
+ Applied patch to fix bug #613, so that the summary report and the projects
|
||||||
|
command now consistently show a missing project as "(none)" (thanks to
|
||||||
|
Steve Rader).
|
||||||
|
+ Applied patch to fix bug #618, so that the configuration setting
|
||||||
|
'edit.verbose' can be set to 'no' and eliminate the help text when using
|
||||||
|
the 'task edit' command (thanks to Steve Rader).
|
||||||
|
+ Enhanced unit tests in response to bug #624 (thanks to Steve Rader).
|
||||||
|
+ Fixed bug #628, where dateformats containing spaces were not properly
|
||||||
|
parsed (thanks to Steve Rader).
|
||||||
|
+ Fixed bug #634, so that 'undo' obeys the 'confirmation' setting (thanks to
|
||||||
|
Steve Rader).
|
||||||
|
+ Fixed bug #641, where certain reports broke when 'dateformat' differed from
|
||||||
|
'dateformat.report'.
|
||||||
|
+ Fixed bug #651, which broke the edit command when a task description
|
||||||
|
contained certain tokens (like 'Due:').
|
||||||
|
+ Fixed bug #653, which caused undo information to be recorded when no changes
|
||||||
|
were made by the 'edit' command.
|
||||||
|
+ Fixed bug #654, which broke the info command when a task had no journal
|
||||||
|
entries.
|
||||||
|
+ Fixed bug #656, which caused multiple recurring child tasks to be created
|
||||||
|
(thanks to Bryce Harrington).
|
||||||
|
+ Fixed bug #671, removing the claim in the 'edit' command claims that
|
||||||
|
description text can wrap over multiple lines, because it cannot.
|
||||||
|
|
||||||
|
------ old releases ------------------------------
|
||||||
|
|
||||||
|
1.9.3 (11/08/2010) bf36b47593a33e6347425d47a36477b627310e65
|
||||||
+ Added feature #43, now task supports relative dates like '3wks',
|
+ Added feature #43, now task supports relative dates like '3wks',
|
||||||
'1 month', '4d' for 'due', 'wait' and 'until' dates. Essentially
|
'1 month', '4d' for 'due', 'wait' and 'until' dates. Essentially
|
||||||
durations are now allowed where dates are expected, and are treated
|
durations are now allowed where dates are expected, and are treated
|
||||||
@@ -35,8 +733,6 @@
|
|||||||
report.
|
report.
|
||||||
+ Added feature #481, allowing for user control of the color rule order
|
+ Added feature #481, allowing for user control of the color rule order
|
||||||
of precedence via the 'rule.precedence.color' configuration variable.
|
of precedence via the 'rule.precedence.color' configuration variable.
|
||||||
+ Fixed bug #493, which made waiting, recurring tasks invisible (thanks to
|
|
||||||
Alexander Schremmer).
|
|
||||||
+ Added feature #499, giving an extra line in the message output when
|
+ Added feature #499, giving an extra line in the message output when
|
||||||
doing bulk done changes (thanks to T. Charles Yun).
|
doing bulk done changes (thanks to T. Charles Yun).
|
||||||
+ New 'depends' column for custom reports.
|
+ New 'depends' column for custom reports.
|
||||||
@@ -86,6 +782,8 @@
|
|||||||
+ Fixed bug #480, which didn't properly support @ characters in tags. This
|
+ Fixed bug #480, which didn't properly support @ characters in tags. This
|
||||||
also now supports $ and #.
|
also now supports $ and #.
|
||||||
+ Fixed bug #489, which caused the filter 'tags.none:' to fail.
|
+ Fixed bug #489, which caused the filter 'tags.none:' to fail.
|
||||||
|
+ Fixed bug #493, which made waiting, recurring tasks invisible (thanks to
|
||||||
|
Alexander Schremmer).
|
||||||
+ Fixed bug #494, causing imported text files to ultimately lack uuids
|
+ Fixed bug #494, causing imported text files to ultimately lack uuids
|
||||||
(thanks to Elizabeth Maxson).
|
(thanks to Elizabeth Maxson).
|
||||||
+ Fixed problem with command line configuration overrides that had no
|
+ Fixed problem with command line configuration overrides that had no
|
||||||
@@ -97,8 +795,6 @@
|
|||||||
+ Clarified the documentation regarding the project name (taskwarrior) and
|
+ Clarified the documentation regarding the project name (taskwarrior) and
|
||||||
the program name (task).
|
the program name (task).
|
||||||
|
|
||||||
------ old releases ------------------------------
|
|
||||||
|
|
||||||
1.9.2 (7/10/2010) a13989f18eb34b3363f433c965084b6491425b9f
|
1.9.2 (7/10/2010) a13989f18eb34b3363f433c965084b6491425b9f
|
||||||
+ Added feature #320, so the command "task 123" is interpreted as an implicit
|
+ Added feature #320, so the command "task 123" is interpreted as an implicit
|
||||||
"task info 123" command (thanks to John Florian).
|
"task info 123" command (thanks to John Florian).
|
||||||
|
|||||||
193
DEVELOPER
Normal file
193
DEVELOPER
Normal file
@@ -0,0 +1,193 @@
|
|||||||
|
General Statement
|
||||||
|
This file is intended to convey the current efforts, priorities and needs of
|
||||||
|
the codebase. It is for anyone looking for a way to start contributing.
|
||||||
|
While this is biased towards developers, anyone can contribute, and everyone
|
||||||
|
is encouraged to do so. Here are many ways to contribute that may not be
|
||||||
|
immediately obvious to you:
|
||||||
|
|
||||||
|
- Use Taskwarrior, become familiar with it, and make suggestions. There are
|
||||||
|
always ongoing discussions about new features and changes to existing
|
||||||
|
features. Join us in the forums.
|
||||||
|
|
||||||
|
- Join us in the #taskwarrior IRC channel on freenode.net. Some great ideas,
|
||||||
|
suggestions, testing and discussions have taken place there. It is also the
|
||||||
|
quickest way to get help, or confirm a bug.
|
||||||
|
|
||||||
|
- Review documentation: there are man pages, wiki articles, tutorials and so
|
||||||
|
on, and these may contain errors, or they may not convey ideas in the best
|
||||||
|
way. Perhaps you can help improve it.
|
||||||
|
|
||||||
|
- Take a look at the bug database, and help triage the bug list. This is a
|
||||||
|
review process that involves confirming bugs, providing additional data,
|
||||||
|
information or analysis. Bug triage is very useful and much needed.
|
||||||
|
|
||||||
|
- Fix a bug. For this you'll need C++ and Git skills, but this is one of
|
||||||
|
the largest ways you can contribute. We welcome all bug fixes, provided
|
||||||
|
the work is done well and doesn't create other problems or introduce new
|
||||||
|
dependencies.
|
||||||
|
|
||||||
|
- Add unit tests. Unit tests are possibly the most useful contributions of
|
||||||
|
all, because they not only improve the quality of the code, but prevent
|
||||||
|
future regressions. Plus, broken tests are a great motivator for us to fix
|
||||||
|
the causal bug.
|
||||||
|
|
||||||
|
- Add a feature. Well, let's be very clear about this: adding a feature is
|
||||||
|
not usually well-received, and if you add a feature and send a patch, it
|
||||||
|
will most likely be rejected. The reason for this is that there are many
|
||||||
|
efforts under way, in various code branches. There is a very good chance
|
||||||
|
that the feature you add is either already in progress, or being done in a
|
||||||
|
way that is more fitting when considering other work in progress. So if
|
||||||
|
you want to add a feature, please don't. Start by talking to us, and find
|
||||||
|
out what is currently under way or planned. You might find that we've
|
||||||
|
already rejected such a feature for some very good reasons. So please
|
||||||
|
check first, so we don't duplicate effort or waste anyone's time.
|
||||||
|
|
||||||
|
- Donate some server time to the testing effort, by participating in the
|
||||||
|
continuous integration of all changes, with our Flod software. See this
|
||||||
|
page for an example: http://tasktools.org/tinderbox
|
||||||
|
Ask us about running a Flod satellite, we're always looking for exotic
|
||||||
|
platforms to test on.
|
||||||
|
|
||||||
|
- Spread the word. Help others become more effective at managing tasks.
|
||||||
|
|
||||||
|
- Encouragement. Tell us what works for you, and what doesn't. It's all
|
||||||
|
good.
|
||||||
|
|
||||||
|
Following are specific areas that could use some attention.
|
||||||
|
|
||||||
|
Deprecated Code
|
||||||
|
This is code that is going to be phased out soon, and therefore is not worth
|
||||||
|
fixing or documenting. Don't waste your time.
|
||||||
|
|
||||||
|
- Shadow file support in core. It will migrate to become an external script.
|
||||||
|
|
||||||
|
New Code Needs
|
||||||
|
This is code that needs to be written, usually down at the C++ function/method
|
||||||
|
level.
|
||||||
|
|
||||||
|
- Need export_viz.yy script. Any language. This would have value as an
|
||||||
|
example, or template script serving as a starting-point for anyone who
|
||||||
|
needed this format.
|
||||||
|
- Need new export_xxx.yy scripts - the more the better. Any language.
|
||||||
|
- The JSON.{h,cpp} code is fast and efficient up to a point, but has a non-
|
||||||
|
linear performance curve, implying a slowdown due to fragmentation. Find
|
||||||
|
it, fix it.
|
||||||
|
- Need a function that can optimize color codes. For example, if a string
|
||||||
|
contains this:
|
||||||
|
<red>one two </red><red>three four</red>
|
||||||
|
It can be shortened to:
|
||||||
|
<red>one two three four</red>
|
||||||
|
This is only possible if there is nothing between </red> and <red> and the
|
||||||
|
colors match.
|
||||||
|
- Need an external script that can locate and correct duplicate UUIDs in the
|
||||||
|
data file, as found by 'task diag'. This should check to see if there is
|
||||||
|
a suitable UUID generator installed. This should also be careful to
|
||||||
|
properly handle recurring tasks.
|
||||||
|
- Need an external implementation equivalent to, or better than the 'shadow
|
||||||
|
file' feature. Simply because shadow file capability *can* be implemented
|
||||||
|
outside the core code, we want to make it be that way.
|
||||||
|
- Take a look at:
|
||||||
|
|
||||||
|
http://taskwarrior.org/versions/show/42
|
||||||
|
|
||||||
|
This 'extension' release is a collection of all the requested features that
|
||||||
|
lie outside of the core product, and will be implemented as external scripts
|
||||||
|
by anyone who wishes to participate.
|
||||||
|
|
||||||
|
Documentation Needed
|
||||||
|
Various forms of documentation that are needed, or are in need of review or
|
||||||
|
update.
|
||||||
|
|
||||||
|
- Wiki/How-To: Date Handling
|
||||||
|
- Wiki/How-To: Aliases, particularly new enhanced aliases
|
||||||
|
- Wiki/Features: All sections
|
||||||
|
|
||||||
|
Unit Tests Needed
|
||||||
|
There are always more unit tests needed. More specifically, better unit tests
|
||||||
|
are always needed. The convention is that there are four types of unit test:
|
||||||
|
|
||||||
|
1. High level tests that exercise large features, or combinations of commands.
|
||||||
|
For example, dependencies.t runs through a long list of commands that test
|
||||||
|
dependencies, but do so by using 'add', 'modify', 'done' and 'delete'.
|
||||||
|
2. Regression tests that ensure certain bugs are fixed and stay fixed. These
|
||||||
|
tests are named bug.NNN.t where NNN refers to the Redmine issue number.
|
||||||
|
While it is not worth creating tests for small fixes like typos, it is for
|
||||||
|
changes to the logic.
|
||||||
|
3. Small feature tests. When small features are added, we would like small,
|
||||||
|
low-level feature tests named feature.NNN.t, where NNN is the Redmine
|
||||||
|
issue number.
|
||||||
|
4. Code tests. These are tests written in C++ that exercise C++ objects, or
|
||||||
|
function calls. These are the lowest level tests. It is important that
|
||||||
|
these kind of tests be extensive and thorough, because the software depends
|
||||||
|
on this code the most.
|
||||||
|
|
||||||
|
The tests are mainly written in Perl, and all use TAP. Here is how to get the
|
||||||
|
code and run the test suite:
|
||||||
|
git clone git://tasktools.org:task.git
|
||||||
|
cd task.git
|
||||||
|
cmake .
|
||||||
|
make
|
||||||
|
make test
|
||||||
|
|
||||||
|
Alternately, you go to the test directory and run the following:
|
||||||
|
|
||||||
|
cd task.git/test
|
||||||
|
make
|
||||||
|
make test
|
||||||
|
|
||||||
|
Either way, a TAP file 'all.log' is written that contains all test results.
|
||||||
|
Once this file is created, you can see the failing tests using this script:
|
||||||
|
|
||||||
|
cd task.git/test
|
||||||
|
./problems
|
||||||
|
|
||||||
|
If you make a habit of running the test suite, consider downloading the
|
||||||
|
vramsteg utility to show a colorful progress bar, from:
|
||||||
|
|
||||||
|
git://tasktools.org/vramsteg.git
|
||||||
|
|
||||||
|
Tests needed:
|
||||||
|
|
||||||
|
- The basic.t unit tests are a misnomer, and should be either removed or
|
||||||
|
renamed. We have long talked of 'basic functionality' that includes add,
|
||||||
|
delete, done, and list commands. We need unit tests that prove that basic
|
||||||
|
functionality is working, and the file containing them should be called
|
||||||
|
basic.t.
|
||||||
|
- None of the current unit tests remove the 'extensions' directory, and they
|
||||||
|
all should.
|
||||||
|
- Test propagation of modifications to recurring tasks.
|
||||||
|
- Test regex support.
|
||||||
|
- Need unit tests for each bug in the issue list, if suitable.
|
||||||
|
- We have bugs in the unit tests that only manifest on days such as December
|
||||||
|
31st. Clearly there is some bad date math going on, most likely in the
|
||||||
|
tests themselves, rather than in Taskwarrior.
|
||||||
|
|
||||||
|
* Note that running the unit tests requires the Perl JSON module to be
|
||||||
|
installed.
|
||||||
|
|
||||||
|
Note that all new unit tests should follow the test/template.t standard.
|
||||||
|
|
||||||
|
Work in Progress
|
||||||
|
Things that are currently in flux, which is another way of saying leave it
|
||||||
|
alone while it is being worked on.
|
||||||
|
|
||||||
|
- Command line parser (A3).
|
||||||
|
- Expression evaluation (E9).
|
||||||
|
- All columns/Col*::validate methods.
|
||||||
|
- New columns/Col*::modify methods.
|
||||||
|
|
||||||
|
Current Codebase Condition
|
||||||
|
|
||||||
|
'master' branch:
|
||||||
|
- 2.2.0 Current release, locked.
|
||||||
|
|
||||||
|
'2.2.0' branch:
|
||||||
|
- Current release. Locked.
|
||||||
|
|
||||||
|
'2.3.0' branch:
|
||||||
|
- Current development branch with sync features, and new tasksh.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
2012-05-12 Added general statement about how to contribute.
|
||||||
|
2013-03-31 Updated branch info.
|
||||||
200
EXPOSITION
Normal file
200
EXPOSITION
Normal file
@@ -0,0 +1,200 @@
|
|||||||
|
Startup
|
||||||
|
On startup, main creates a global Context object, then calls the
|
||||||
|
Context::initialize and Context::run methods.
|
||||||
|
|
||||||
|
Context is a large object that holds all task information, both in terms of
|
||||||
|
the task data, and intermediate run-time data. Having one global Context
|
||||||
|
object means we don't have 50 global variables. Context is therefore just a
|
||||||
|
big global bucket of data.
|
||||||
|
|
||||||
|
Context::initialize sets up all the data and processes the command line. The
|
||||||
|
initialization process is a big chicken-and-egg problem, because the command
|
||||||
|
line depends on configuration (aliases) and the command line can force a
|
||||||
|
reload of configuration (rc:foo). This is solved by look-ahead: the command
|
||||||
|
line is scanned for 'rc:xxx' and 'rc.data.location:xxx' arguments, then later
|
||||||
|
for overrides.
|
||||||
|
|
||||||
|
The Context::run method handles all the debug output and exceptions. Its
|
||||||
|
main purpose is to set up exception handling and call Context::dispatch.
|
||||||
|
|
||||||
|
|
||||||
|
Command Line Parsing
|
||||||
|
Command line parsing is difficult because of all the ambiguity. The solution
|
||||||
|
is to make several passes over the command line. For example, the task
|
||||||
|
command determines whether subsequent arguments are interpreted as part of a
|
||||||
|
filter or set of modifications.
|
||||||
|
|
||||||
|
|
||||||
|
Dispatch
|
||||||
|
Dispatch is simple: once the command line is parsed, the command is used to
|
||||||
|
look up a command object, then call its execute method.
|
||||||
|
|
||||||
|
Context stores an associative map of command object pointers indexed by a
|
||||||
|
string. This means the 'done' string is an index to the CmdDone object that
|
||||||
|
implements the functionality.
|
||||||
|
|
||||||
|
|
||||||
|
Command Objects
|
||||||
|
Every task command is implemented by a command object. The command object
|
||||||
|
provides metadata, usage and one-line help in addition to the ::execute method
|
||||||
|
that implements the command.
|
||||||
|
|
||||||
|
|
||||||
|
Column Objects
|
||||||
|
There is a 1:1 correspondence between attributes stored in the data files and
|
||||||
|
the columns that may be reported. These are represented by column objects,
|
||||||
|
which are responsible for validating input, measuring space needed according
|
||||||
|
to various formats, and for rendering data for reports.
|
||||||
|
|
||||||
|
|
||||||
|
TDB2
|
||||||
|
The TDB2 object is a layered, transactioned I/O manager. Its purpose is to
|
||||||
|
isolate code from file I/O, locking, synching, and parsing details. It is
|
||||||
|
also responsible for minimizing reads, writes and parsing of data files.
|
||||||
|
|
||||||
|
All input is assumed to be UTF8. All stored data is UTF8.
|
||||||
|
|
||||||
|
|
||||||
|
GC
|
||||||
|
Garbage Collection is the process that moves tasks between the pending.data
|
||||||
|
and completed.data files. It is also responsible for waking tasks out of the
|
||||||
|
wait state.
|
||||||
|
|
||||||
|
Every command that displays task IDs will cause a GC to be run first, which
|
||||||
|
minimizes the number of changes necessary to the task IDs. This means that
|
||||||
|
when a report shows task IDs, those IDs will remain valid while subsequent
|
||||||
|
write commands are issued. The next report run may show different IDs.
|
||||||
|
|
||||||
|
Minimizing the size of pending.data is important for performance, because it
|
||||||
|
is the file that is accessed most.
|
||||||
|
|
||||||
|
|
||||||
|
Files
|
||||||
|
The data files used are all kept in the rc.data.location directory, which
|
||||||
|
defaults to ~/.task. The files are:
|
||||||
|
|
||||||
|
pending.data
|
||||||
|
completed.data
|
||||||
|
undo.data
|
||||||
|
backlog.data
|
||||||
|
synch.key
|
||||||
|
|
||||||
|
The pending.data file aspires to contain only pending, waiting and recurring
|
||||||
|
tasks, but this is only correct after a GC, and before any tasks are modified.
|
||||||
|
This file tends to be relatively stable in size, reflecting the length of the
|
||||||
|
task list.
|
||||||
|
|
||||||
|
The completed.data file accumulates data over time, and grows unbounded.
|
||||||
|
|
||||||
|
The undo.data file accumulates changes over time, and grows unbounded. It
|
||||||
|
provides all the necessary metadata to support the 'undo' command and the
|
||||||
|
'merge' command.
|
||||||
|
|
||||||
|
The backlog.data file contains an accumulated set of changes that have not
|
||||||
|
been transmitted to the task server. It grows unbounded between 'synch'
|
||||||
|
commands.
|
||||||
|
|
||||||
|
The synch.key file contains a synch receipt that is used to optimize synch
|
||||||
|
operations.
|
||||||
|
|
||||||
|
|
||||||
|
Filter
|
||||||
|
A filter is simply a set of command line arguments, but is only a subset of
|
||||||
|
the complete command line. These arguments (Arg objects) are grouped into
|
||||||
|
a set by the A3 (Args) object according to whether the command found is a
|
||||||
|
read or write command.
|
||||||
|
|
||||||
|
There is a Command::filter method for applying a filter to a set of tasks,
|
||||||
|
yielding a result set. It does this by creating an expression from the
|
||||||
|
filter using the E9 object, then evaluating the expression for each task,
|
||||||
|
such that the result set contains only tasks for which the expression
|
||||||
|
evaluates to Boolean true.
|
||||||
|
|
||||||
|
|
||||||
|
Sorting
|
||||||
|
Sorting is performed on a set of tasks. More specifically, the list that is
|
||||||
|
sorted is a set of numeric indexes to tasks that are stored in a separate
|
||||||
|
list. This minimizes the amount of data copying involved to just integers
|
||||||
|
rather than Task objects, but at the expense of one level of indirection.
|
||||||
|
Memory fragmentation is a bigger problem than the performance of vector
|
||||||
|
indexing.
|
||||||
|
|
||||||
|
The actual sorting is performed by std::stable_sort, but the compare function
|
||||||
|
is custom.
|
||||||
|
|
||||||
|
|
||||||
|
Render
|
||||||
|
There are two rendering objects, ViewTask and ViewText. These both have the
|
||||||
|
same tabular grid rendering capabilities. ViewText maintains a 2D vector of
|
||||||
|
strings to contain the data to be rendered, so it is used for things like the
|
||||||
|
help command output. ViewTask does not copy data, but assumes all data is
|
||||||
|
stored externally in a vector of Tasks, which minimizes data copying.
|
||||||
|
|
||||||
|
ViewTask contains projection data in the form of a set of Column objects that
|
||||||
|
represent the X axis. The Y axis is represented by a vector of tasks.
|
||||||
|
|
||||||
|
The rendering process is complex. It involves dynamically setting column
|
||||||
|
widths based on (1) available terminal width, (2) the columns to be included
|
||||||
|
in the output, (3) ability to wrap text for certain columns and (4) the size
|
||||||
|
of the data to be rendered, which involves added complexity when UTF8 is used.
|
||||||
|
|
||||||
|
The Column objects determine minimum width for a column and the maximum width
|
||||||
|
which then allows ViewT* to make choices.
|
||||||
|
|
||||||
|
|
||||||
|
Test Suite
|
||||||
|
A strong and diverse test suite is critical to the successful release of any
|
||||||
|
software. With the complex command set and its myriad permutations, a test
|
||||||
|
suite is the only way to ensure quality levels, and guarantee that big changes
|
||||||
|
are sound.
|
||||||
|
|
||||||
|
It is intended that the test suite continues growing, mostly adding more
|
||||||
|
regression tests (bug.*.t) and more feature tests (feature.*.t). The test are
|
||||||
|
mostly written in Perl, and utilize the Test::More module to generate TAP
|
||||||
|
output. Some tests are written in C++ and also generate TAP.
|
||||||
|
|
||||||
|
There are currently over 5,000 unit tests, that take a minute or two to run
|
||||||
|
in total.
|
||||||
|
|
||||||
|
Taskwarrior uses flod software to automate continuous integration across
|
||||||
|
many platforms. Code changes are automatically detected, propagated, built and
|
||||||
|
tested on a variety of participating platforms. Grid testing results are here:
|
||||||
|
|
||||||
|
http://tasktools.org/tinderbox/taskwarrior.html
|
||||||
|
|
||||||
|
When making code changes, it is important that the test suite be run to verify
|
||||||
|
that functionality was not broken.
|
||||||
|
|
||||||
|
|
||||||
|
Debugging
|
||||||
|
The 'rc.debug=on' override provides the following additional information which
|
||||||
|
is useful during debugging:
|
||||||
|
|
||||||
|
- Timing of various components (used to generate the data for the charts at
|
||||||
|
http://tasktools.org/performance).
|
||||||
|
- Data load times.
|
||||||
|
- Terminal size, color capabilities.
|
||||||
|
- Command line parsing steps, shown in colorful diagrams.
|
||||||
|
- TDB2 layer and I/O information.
|
||||||
|
|
||||||
|
|
||||||
|
Patches
|
||||||
|
Patches are encouraged and welcomed. Either attach them to the appropriate
|
||||||
|
Redmine issue, or send them to support@taskwarrior.org. A good patch:
|
||||||
|
|
||||||
|
- Maintains the MIT license, and does not contain code lifted from other
|
||||||
|
sources.
|
||||||
|
- Precisely addresses one issue only.
|
||||||
|
- Doesn't break unit tests.
|
||||||
|
- Doesn't introduce dependencies.
|
||||||
|
- Is accompanied by unit tests, where appropriate.
|
||||||
|
- Is accompanied by documentation changes, where appropriate.
|
||||||
|
- Conforms to the prevailing coding standards - in other words, it should
|
||||||
|
fit right in with the existing code.
|
||||||
|
|
||||||
|
A patch may be rejected for not following the above guidelines, and more.
|
||||||
|
Bad patches may be accepted and modified depending on work load and mood. It
|
||||||
|
is possible that a patch may be rejected because it conflicts in some way with
|
||||||
|
plans or upcoming changes.
|
||||||
|
|
||||||
|
---
|
||||||
289
INSTALL
289
INSTALL
@@ -1,234 +1,149 @@
|
|||||||
Installation Instructions
|
Installation Instructions
|
||||||
*************************
|
-------------------------
|
||||||
|
|
||||||
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
|
Please follow the instructions below to build task with cmake.
|
||||||
2006 Free Software Foundation, Inc.
|
|
||||||
|
|
||||||
|
Pre-requisites
|
||||||
|
--------------
|
||||||
|
|
||||||
|
You will need the CMake build system installed in order to build taskwarrior
|
||||||
|
from source.
|
||||||
|
|
||||||
|
More information on cmake can be obtained at http://cmake.org
|
||||||
|
|
||||||
|
It is HIGHLY RECOMMENDED that you build with a library that provides uuid_*
|
||||||
|
functions, such as libuuid.
|
||||||
|
|
||||||
This file is free documentation; the Free Software Foundation gives
|
|
||||||
unlimited permission to copy, distribute and modify it.
|
|
||||||
|
|
||||||
Basic Installation
|
Basic Installation
|
||||||
==================
|
------------------
|
||||||
|
|
||||||
Briefly, the shell commands `./configure; make; make install' should
|
Briefly, these shell commands will unpack, build and install taskwarrior:
|
||||||
configure, build, and install this package. The following
|
|
||||||
more-detailed instructions are generic; see the `README' file for
|
|
||||||
instructions specific to this package.
|
|
||||||
|
|
||||||
The `configure' shell script attempts to guess correct values for
|
$ tar xzf task-X.Y.Z.tar.gz [1]
|
||||||
various system-dependent variables used during compilation. It uses
|
$ cd task-X.Y.Z [2]
|
||||||
those values to create a `Makefile' in each directory of the package.
|
$ cmake . [3]
|
||||||
It may also create one or more `.h' files containing system-dependent
|
$ make [4]
|
||||||
definitions. Finally, it creates a shell script `config.status' that
|
$ sudo make install [5]
|
||||||
you can run in the future to recreate the current configuration, and a
|
$ cd .. ; rm -r task-X.Y.Z [6]
|
||||||
file `config.log' containing compiler output (useful mainly for
|
|
||||||
debugging `configure').
|
|
||||||
|
|
||||||
It can also use an optional file (typically called `config.cache'
|
These commands are explained below:
|
||||||
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
|
||||||
the results of its tests to speed up reconfiguring. Caching is
|
|
||||||
disabled by default to prevent problems with accidental use of stale
|
|
||||||
cache files.
|
|
||||||
|
|
||||||
If you need to do unusual things to compile the package, please try
|
1. Unpacks the source tarball. This creates the directory task-X.Y.Z,
|
||||||
to figure out how `configure' could check whether to do them, and mail
|
containing all the code.
|
||||||
diffs or instructions to the address given in the `README' so they can
|
|
||||||
be considered for the next release. If you are using the cache, and at
|
|
||||||
some point `config.cache' contains results you don't want to keep, you
|
|
||||||
may remove or edit it.
|
|
||||||
|
|
||||||
The file `configure.ac' (or `configure.in') is used to create
|
2. Change directory to the root of the distribution.
|
||||||
`configure' by a program called `autoconf'. You need `configure.ac' if
|
|
||||||
you want to change it or regenerate `configure' using a newer version
|
|
||||||
of `autoconf'.
|
|
||||||
|
|
||||||
The simplest way to compile this package is:
|
3. Invokes CMake to scan for dependencies and machine-specific details, then
|
||||||
|
generate the makefiles. This may take a minute.
|
||||||
|
|
||||||
1. `cd' to the directory containing the package's source code and type
|
4. Builds taskwarrior. This may take a minute.
|
||||||
`./configure' to configure the package for your system.
|
|
||||||
|
|
||||||
Running `configure' might take a while. While running, it prints
|
5. Installs the program, documentation and other data files.
|
||||||
some messages telling which features it is checking for.
|
|
||||||
|
|
||||||
2. Type `make' to compile the package.
|
6. Removes the temporary directory.
|
||||||
|
|
||||||
3. Optionally, type `make check' to run any self-tests that come with
|
|
||||||
the package.
|
|
||||||
|
|
||||||
4. Type `make install' to install the programs and any data files and
|
Build and configurations options
|
||||||
documentation.
|
--------------------------------
|
||||||
|
|
||||||
5. You can remove the program binaries and object files from the
|
You can customize the configuration run with cmake variables. This will modify
|
||||||
source code directory by typing `make clean'. To also remove the
|
the installation process:
|
||||||
files that `configure' created (so you can compile the package for
|
|
||||||
a different kind of computer), type `make distclean'. There is
|
|
||||||
also a `make maintainer-clean' target, but that is intended mainly
|
|
||||||
for the package's developers. If you use it, you may have to get
|
|
||||||
all sorts of other programs in order to regenerate files that came
|
|
||||||
with the distribution.
|
|
||||||
|
|
||||||
Compilers and Options
|
To change the installation directory you use the following configuration
|
||||||
=====================
|
variable:
|
||||||
|
|
||||||
Some systems require unusual options for compilation or linking that the
|
$ cmake -DCMAKE_INSTALL_PREFIX=<path-to-installation-dir> .
|
||||||
`configure' script does not know about. Run `./configure --help' for
|
|
||||||
details on some of the pertinent environment variables.
|
|
||||||
|
|
||||||
You can give `configure' initial values for configuration parameters
|
cmake configuration variables are applied with the -D option and consist of a
|
||||||
by setting variables in the command line or in the environment. Here
|
<name> and a <value>:
|
||||||
is an example:
|
|
||||||
|
|
||||||
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
$ cmake -D<name>=<value> .
|
||||||
|
|
||||||
*Note Defining Variables::, for more details.
|
Four more variables can customize the installation process. The following table
|
||||||
|
lists them and their defaults plus the CMAKE_INSTALL_PREFIX:
|
||||||
|
|
||||||
Compiling For Multiple Architectures
|
CMAKE_INSTALL_PREFIX /usr/local
|
||||||
====================================
|
TASK_BINDIR bin
|
||||||
|
TASK_DOCDIR share/doc/task
|
||||||
|
TASK_MAN1DIR share/man/man1
|
||||||
|
TASK_MAN5DIR share/man/man5
|
||||||
|
|
||||||
You can compile the package for more than one kind of computer at the
|
The corresponding TASK_* variables will be combined with CMAKE_INSTALL_PREFIX to
|
||||||
same time, by placing the object files for each architecture in their
|
get absolute installation directories:
|
||||||
own directory. To do this, you can use GNU `make'. `cd' to the
|
|
||||||
directory where you want the object files and executables to go and run
|
|
||||||
the `configure' script. `configure' automatically checks for the
|
|
||||||
source code in the directory that `configure' is in and in `..'.
|
|
||||||
|
|
||||||
With a non-GNU `make', it is safer to compile the package for one
|
CMAKE_INSTALL_PREFIX/TASK_BINDIR /usr/local/bin
|
||||||
architecture at a time in the source code directory. After you have
|
CMAKE_INSTALL_PREFIX/TASK_DOCDIR /usr/local/share/doc/task
|
||||||
installed the package for one architecture, use `make distclean' before
|
CMAKE_INSTALL_PREFIX/TASK_MAN1DIR /usr/local/share/man/man1
|
||||||
reconfiguring for another architecture.
|
CMAKE_INSTALL_PREFIX/TASK_MAN5DIR /usr/local/share/man/man5
|
||||||
|
|
||||||
Installation Names
|
|
||||||
==================
|
|
||||||
|
|
||||||
By default, `make install' installs the package's commands under
|
Uninstallation
|
||||||
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
--------------
|
||||||
can specify an installation prefix other than `/usr/local' by giving
|
|
||||||
`configure' the option `--prefix=PREFIX'.
|
|
||||||
|
|
||||||
You can specify separate installation prefixes for
|
To uninstall taskwarrior, you need the Makefiles, so if you deleted them in
|
||||||
architecture-specific files and architecture-independent files. If you
|
step 7 above, they must first be regenerated by following steps [1], [2] and
|
||||||
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
[3]. Then simply run:
|
||||||
PREFIX as the prefix for installing programs and libraries.
|
|
||||||
Documentation and other data files still use the regular prefix.
|
|
||||||
|
|
||||||
In addition, if you use an unusual directory layout you can give
|
$ sudo make uninstall TODO TODO TODO -- cmake doesn't include uninstall
|
||||||
options like `--bindir=DIR' to specify different values for particular
|
|
||||||
kinds of files. Run `configure --help' for a list of the directories
|
|
||||||
you can set and what kinds of files go in them.
|
|
||||||
|
|
||||||
If the package supports it, you can cause programs to be installed
|
|
||||||
with an extra prefix or suffix on their names by giving `configure' the
|
|
||||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
|
||||||
|
|
||||||
Optional Features
|
Taskwarrior Build Notes
|
||||||
=================
|
-----------------------
|
||||||
|
|
||||||
Some packages pay attention to `--enable-FEATURE' options to
|
Taskwarrior has dependencies that are detected by cmake in almost all cases, but
|
||||||
`configure', where FEATURE indicates an optional part of the package.
|
there are situations and operating systems that mean you will need to offer a
|
||||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
little help.
|
||||||
is something like `gnu-as' or `x' (for the X Window System). The
|
|
||||||
`README' should mention any `--enable-' and `--with-' options that the
|
|
||||||
package recognizes.
|
|
||||||
|
|
||||||
For packages that use the X Window System, `configure' can usually
|
If taskwarrior will not build on your system, first take a look at the Operating
|
||||||
find the X include and library files automatically, but if it doesn't,
|
System notes below. If this doesn't help, then go to the Troubleshooting
|
||||||
you can use the `configure' options `--x-includes=DIR' and
|
section, which includes instructions on how to contact us for help.
|
||||||
`--x-libraries=DIR' to specify their locations.
|
|
||||||
|
|
||||||
Specifying the System Type
|
|
||||||
==========================
|
|
||||||
|
|
||||||
There may be some features `configure' cannot figure out automatically,
|
Operating System Notes
|
||||||
but needs to determine by the type of machine the package will run on.
|
----------------------
|
||||||
Usually, assuming the package is built to be run on the _same_
|
|
||||||
architectures, `configure' can figure that out, but if it prints a
|
|
||||||
message saying it cannot guess the machine type, give it the
|
|
||||||
`--build=TYPE' option. TYPE can either be a short name for the system
|
|
||||||
type, such as `sun4', or a canonical name which has the form:
|
|
||||||
|
|
||||||
CPU-COMPANY-SYSTEM
|
Cygwin
|
||||||
|
If 'make install' fails when writing to the /usr/local/share/ directory,
|
||||||
|
this may be because your current login doesn't have permission to write
|
||||||
|
to the Windows directory containing your Cygwin installation. Either
|
||||||
|
login to Windows as an Administrator and try the 'make install' process
|
||||||
|
again, or reinstall Cygwin under your normal Windows login.
|
||||||
|
|
||||||
where SYSTEM can have one of these forms:
|
|
||||||
|
|
||||||
OS KERNEL-OS
|
Darwin, 32bit
|
||||||
|
The taskwarrior packages will not work on a 32-bit OSX installation on Core
|
||||||
|
Duo hardware. You will need to build Taskwarrior from source, and use this
|
||||||
|
configure command:
|
||||||
|
|
||||||
See the file `config.sub' for the possible values of each field. If
|
cmake -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 -DCMAKE_EXE_LINKER_FLAGS=-m32 .
|
||||||
`config.sub' isn't included in this package, then this package doesn't
|
|
||||||
need to know the machine type.
|
|
||||||
|
|
||||||
If you are _building_ compiler tools for cross-compiling, you should
|
See:
|
||||||
use the option `--target=TYPE' to select the type of system they will
|
http://taskwarrior.org/issues/817
|
||||||
produce code for.
|
http://stackoverflow.com/questions/3261909/build-32bit-on-64-bit-linux-using-a-configure-script
|
||||||
|
http://stackoverflow.com/questions/2617508/cmake-gcc-cuda-and-m32-wtf
|
||||||
|
http://stackoverflow.com/questions/6077414/cmake-how-to-set-the-ldflags-in-cmakelists-txt
|
||||||
|
|
||||||
If you want to _use_ a cross compiler, that generates code for a
|
|
||||||
platform different from the build platform, you should specify the
|
|
||||||
"host" platform (i.e., that on which the generated programs will
|
|
||||||
eventually be run) with `--host=TYPE'.
|
|
||||||
|
|
||||||
Sharing Defaults
|
Troubleshooting
|
||||||
================
|
---------------
|
||||||
|
|
||||||
If you want to set default values for `configure' scripts to share, you
|
If you've recently made changes to dependencies (by reinstalling them, for
|
||||||
can create a site shell script called `config.site' that gives default
|
example) be sure to rerun 'cmake .' before trying to execute 'make' again.
|
||||||
values for variables like `CC', `cache_file', and `prefix'.
|
|
||||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
|
||||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
|
||||||
`CONFIG_SITE' environment variable to the location of the site script.
|
|
||||||
A warning: not all `configure' scripts look for a site script.
|
|
||||||
|
|
||||||
Defining Variables
|
CMake will run and locate all the necessary pieces for the build, and create
|
||||||
==================
|
a Makefile. There may be errors and warnings when running CMake, or there
|
||||||
|
may be compiler errors and warnings when running 'make'. Sometimes you will run
|
||||||
|
CMake with no reported problems, and the build will fail later. This is
|
||||||
|
almost always because CMake is mistaken about some assumption.
|
||||||
|
|
||||||
Variables not defined in a site shell script can be set in the
|
If a build does not succeed, please send the contents of the 'CMakeCache.txt'
|
||||||
environment passed to `configure'. However, some packages may run
|
and 'CMakeFiles/CMakeOutput.log' files to support@taskwarrior.org, or post a
|
||||||
configure again during the build, and the customized values of these
|
message in the support forums at taskwarrior.org along with the information.
|
||||||
variables may be lost. In order to avoid this problem, you should set
|
|
||||||
them in the `configure' command line, using `VAR=value'. For example:
|
|
||||||
|
|
||||||
./configure CC=/usr/local2/bin/gcc
|
If CMake runs but taskwarrior does not build, please send the contents of the
|
||||||
|
above files as well as a transcript from the build, which is not written to a
|
||||||
causes the specified `gcc' to be used as the C compiler (unless it is
|
file and must be captured from the terminal.
|
||||||
overridden in the site shell script).
|
|
||||||
|
|
||||||
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
|
||||||
an Autoconf bug. Until the bug is fixed you can use this workaround:
|
|
||||||
|
|
||||||
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
|
||||||
|
|
||||||
`configure' Invocation
|
|
||||||
======================
|
|
||||||
|
|
||||||
`configure' recognizes the following options to control how it operates.
|
|
||||||
|
|
||||||
`--help'
|
|
||||||
`-h'
|
|
||||||
Print a summary of the options to `configure', and exit.
|
|
||||||
|
|
||||||
`--version'
|
|
||||||
`-V'
|
|
||||||
Print the version of Autoconf used to generate the `configure'
|
|
||||||
script, and exit.
|
|
||||||
|
|
||||||
`--cache-file=FILE'
|
|
||||||
Enable the cache: use and save the results of the tests in FILE,
|
|
||||||
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
|
||||||
disable caching.
|
|
||||||
|
|
||||||
`--config-cache'
|
|
||||||
`-C'
|
|
||||||
Alias for `--cache-file=config.cache'.
|
|
||||||
|
|
||||||
`--quiet'
|
|
||||||
`--silent'
|
|
||||||
`-q'
|
|
||||||
Do not print messages saying which checks are being made. To
|
|
||||||
suppress all normal output, redirect it to `/dev/null' (any error
|
|
||||||
messages will still be shown).
|
|
||||||
|
|
||||||
`--srcdir=DIR'
|
|
||||||
Look for the package's source code in directory DIR. Usually
|
|
||||||
`configure' can determine that directory automatically.
|
|
||||||
|
|
||||||
`configure' also accepts some other, not widely useful, options. Run
|
|
||||||
`configure --help' for more details.
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|||||||
23
LICENSE
Normal file
23
LICENSE
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
taskwarrior - a command line task list manager.
|
||||||
|
|
||||||
|
Copyright 2006-2013, Paul Beckingham, Federico Hernandez.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included
|
||||||
|
in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||||
|
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
||||||
|
http://www.opensource.org/licenses/mit-license.php
|
||||||
24
Makefile.am
24
Makefile.am
@@ -1,24 +0,0 @@
|
|||||||
SUBDIRS = src
|
|
||||||
|
|
||||||
dist_man_MANS = doc/man/task.1 doc/man/taskrc.5 doc/man/task-tutorial.5 doc/man/task-faq.5 doc/man/task-color.5 doc/man/task-sync.5
|
|
||||||
|
|
||||||
#docdir = $(datadir)/doc/${PACKAGE}-${VERSION}
|
|
||||||
doc_DATA = AUTHORS ChangeLog COPYING NEWS README
|
|
||||||
|
|
||||||
EXTRA_DIST = INSTALL README.build
|
|
||||||
|
|
||||||
bashscriptsdir = $(docdir)
|
|
||||||
nobase_dist_bashscripts_DATA = scripts/bash/task_completion.sh
|
|
||||||
|
|
||||||
zshscriptsdir = $(docdir)
|
|
||||||
nobase_dist_zshscripts_DATA = scripts/zsh/_task
|
|
||||||
|
|
||||||
vimscriptsdir = $(docdir)
|
|
||||||
nobase_dist_vimscripts_DATA = scripts/vim/README scripts/vim/ftdetect/task.vim scripts/vim/syntax/taskdata.vim scripts/vim/syntax/taskedit.vim scripts/vim/syntax/taskrc.vim
|
|
||||||
|
|
||||||
i18ndir = $(docdir)
|
|
||||||
nobase_dist_i18n_DATA = i18n/strings.de-DE i18n/strings.en-US i18n/strings.es-ES i18n/strings.fr-FR i18n/strings.nl-NL i18n/strings.sv-SE i18n/tips.de-DE i18n/tips.en-US i18n/tips.sv-SE
|
|
||||||
|
|
||||||
rcfiledir = $(docdir)/rc
|
|
||||||
dist_rcfile_DATA = doc/rc/holidays-CA.rc doc/rc/holidays-DE.rc doc/rc/holidays-ES.rc doc/rc/holidays-FR.rc doc/rc/holidays-NL.rc doc/rc/holidays-SE.rc doc/rc/holidays-UK.rc doc/rc/holidays-US.rc doc/rc/dark-16.theme doc/rc/dark-256.theme doc/rc/light-16.theme doc/rc/light-256.theme doc/rc/dark-blue-256.theme doc/rc/dark-green-256.theme doc/rc/dark-red-256.theme doc/rc/dark-violets-256.theme doc/rc/dark-yellow-green.theme
|
|
||||||
|
|
||||||
105
NEWS
105
NEWS
@@ -1,90 +1,57 @@
|
|||||||
|
|
||||||
New Features in taskwarrior 1.9.3
|
New Features in taskwarrior 2.2.0
|
||||||
|
|
||||||
- Start and stop times for a task can now be recorded as annotations.
|
- Bash autocompletion now works with aliases.
|
||||||
- Special tags 'nocolor', 'nocal' and 'nonag'.
|
- Virtual tags provide a tag query interface to more complex states. See the
|
||||||
- Now supports durations in dates, such as:
|
'man task' page for details.
|
||||||
$ task ... due:4d
|
- Deprecated 'fg' and 'bg' attributes removed. Any residual use of those will
|
||||||
$ task ... due:3wks
|
appear as orphaned UDAs.
|
||||||
- 'sow', 'som' and 'soy' are now accepted in dates. 'soww' and 'eoww' are
|
- Tasks now have a 'modified' attribute, which indicates the last time, if at
|
||||||
now synonyms for 'sow' and 'eow' (ww = working week) 'socw' and 'eocw'
|
all, that they were modified.
|
||||||
refer to the calendar week (starting Sunday/Monday and
|
- Statistics now report total number of blocked and blocking tasks.
|
||||||
- Now supports the beginning of the week, month and year in dates.
|
- The 'columns' command now supports search term for the column name.
|
||||||
- Now supports 'now' as a date/time.
|
- New date shortcuts, 'socm' and 'eocm', meaning start and end of current
|
||||||
- Now defines an overdue task as being one second after the due date,
|
month.
|
||||||
instead of the day after the due date.
|
- Improved error messages for 'push' and 'pull' transport problems.
|
||||||
- Import and export of YAML 1.1, including round-trip capability, and
|
|
||||||
detection of duplicate imports.
|
|
||||||
- New merge capability for syncing task data files.
|
|
||||||
- New push capability for distributing merged changes.
|
|
||||||
- New pull capability for copying data files from a remote location.
|
|
||||||
- When completing or modifying a task, the project status is displayed.
|
|
||||||
- The 'info' report is now colorized.
|
|
||||||
- Certain characters (#, $, @) are now supported for use in tags.
|
|
||||||
- User-controlled color rule precedence.
|
|
||||||
- Two new color themes.
|
|
||||||
- New holiday files for US, SE, DE, CA, FR, UK, ES, NL and NO localizations.
|
|
||||||
- Task dependencies, and new 'blocked' and 'unblocked' reports for list
|
|
||||||
those tasks.
|
|
||||||
|
|
||||||
Please refer to the ChangeLog file for full details. There are too many to
|
New commands in taskwarrior 2.2.0
|
||||||
list here.
|
|
||||||
|
|
||||||
New commands in taskwarrior 1.9.3
|
- New '_aliases' helper command lists aliases for completion purposes.
|
||||||
|
|
||||||
- New 'task color legend' command will show samples of all the defined colors
|
New configuration options in taskwarrior 2.2.0
|
||||||
and color rules from your .taskrc and theme.
|
|
||||||
- New 'task export.yaml' command will export YAML 1.1, which can then be
|
|
||||||
imported via 'task import <file>'.
|
|
||||||
- New 'task merge <url>' command that can merge the local and an undo.data
|
|
||||||
file from another taskwarrior user, to sync across machines, for example.
|
|
||||||
- New 'task push <url>' command to distribute merged changes.
|
|
||||||
- New 'task pull <url>' command to copy data files from a remote location.
|
|
||||||
- New 'diagnostics' command to aid bug reporting.
|
|
||||||
|
|
||||||
New configuration options in taskwarrior 1.9.3
|
- New color rule 'color.uda.<uda-name>'.
|
||||||
|
- Added the configuration variable 'print.empty.columns', which defaults to
|
||||||
|
'no'. This allows more efficient use of horizontal space.
|
||||||
|
- Any ~ characters in a default .taskrc file are preserved.
|
||||||
|
|
||||||
- journal.time, journal.time.start.annotation, journal.time.stop.annotation
|
Newly deprecated features in taskwarrior 2.2.0
|
||||||
ending Saturday/Sunday).
|
|
||||||
- Color rule precedence can now be explicitly set with the configuration
|
- The bash completion script no longer expands IDs after 'depends:'.
|
||||||
variable rule.precedence.color. Try "task show rule.pre" to show the
|
(Such expansion required running gc() which is not correct.)
|
||||||
default settings.
|
- The incomplete support for Lua extensions was removed.
|
||||||
- merge.autopush to control whether pushing after merging is automated.
|
|
||||||
- merge.*.uri to configure source locations for the merge command
|
|
||||||
(e.g. merge.default.uri).
|
|
||||||
- push.*.uri to configure target locations for the push command.
|
|
||||||
- pull.*.uri to configure source locations for the pull command.
|
|
||||||
- dependency.confirm controls whether dependency chain repair needs to be
|
|
||||||
confirmed.
|
|
||||||
- dependency.reminder controls whether the user is nagged about dependency
|
|
||||||
chain violations.
|
|
||||||
|
|
||||||
Newly deprecated features in taskwarrior 1.9.3
|
|
||||||
|
|
||||||
- entry_time, start_time and end_time are now synonyms for the entry, start
|
|
||||||
and end fields. Recent enhancements to date formatting render these fields
|
|
||||||
obsolete. The 'task show' command warns of the use of these deprecated
|
|
||||||
fields. The synonyms will be removed in a future version of taskwarrior.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Taskwarrior has been built and tested on the following configurations:
|
Taskwarrior has been built and tested on the following configurations:
|
||||||
|
|
||||||
* OS X 10.6 Snow Leopard and 10.5 Leopard
|
* OS X 10.8 Mountain Lion and 10.7 Lion
|
||||||
* Fedora 13 Goddard, 12 Constantine
|
* Fedora 18 Spherical Cow and 17 Beefy Miracle
|
||||||
* Ubuntu 10.10 Maverick Meerkat, 10.04 Lucid Lynx
|
* Ubuntu 12.10 Quantal Quetzal and 12.04 Precise Pangolin
|
||||||
* Debian Sid
|
* Debian 6.0 Squeeze (stable)i and 5.0 Lenny (oldstable) plus Sid (testing)
|
||||||
* Slackware 12.2
|
* Slackware 13.37
|
||||||
* Arch Linux
|
* Arch Linux
|
||||||
* Gentoo Linux
|
* Gentoo Linux
|
||||||
|
* Sabayon Linux
|
||||||
* SliTaz Linux
|
* SliTaz Linux
|
||||||
* CRUX Linux
|
* CRUX Linux
|
||||||
* SuSE 11.3
|
* SuSE
|
||||||
|
* derivatives/customizations/flavors of the above Linux distributions
|
||||||
* Solaris 10 and 8
|
* Solaris 10 and 8
|
||||||
* OpenBSD 4.5
|
* OpenBSD
|
||||||
* FreeBSD
|
* FreeBSD
|
||||||
* Cygwin 1.7 and 1.5
|
* NetBSD
|
||||||
* Haiku R1/alpha1
|
* Cygwin 1.7
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
18
README
18
README
@@ -1,3 +1,18 @@
|
|||||||
|
*** Disclaimer ***
|
||||||
|
*** during ongoing ***
|
||||||
|
*** development ***
|
||||||
|
|
||||||
|
The development branch is a work in progress and may not pass all quality
|
||||||
|
tests, therefore it may harm your data. While we welcome bug reports from
|
||||||
|
the development branch, we do not guarantee proper or timely fixes.
|
||||||
|
|
||||||
|
Broken functionality may arise from ongoing development work.
|
||||||
|
|
||||||
|
Make proper backups.
|
||||||
|
|
||||||
|
Be aware that using the development branch involves risks.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
Thank you for taking a look at taskwarrior!
|
Thank you for taking a look at taskwarrior!
|
||||||
|
|
||||||
@@ -21,3 +36,6 @@ Please send your support questions and code patches to:
|
|||||||
Consider joining taskwarrior.org and participating in the future of taskwarrior.
|
Consider joining taskwarrior.org and participating in the future of taskwarrior.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Taskwarrior is released under the MIT license. For details check the LICENSE
|
||||||
|
file.
|
||||||
|
|||||||
98
README.build
98
README.build
@@ -1,98 +0,0 @@
|
|||||||
|
|
||||||
Taskwarrior Build Notes
|
|
||||||
----------------
|
|
||||||
|
|
||||||
Taskwarrior 1.9 has dependencies that are detected by the configure program in
|
|
||||||
almost all cases, but there are situations and operating systems that mean you
|
|
||||||
will need to offer configure a little help.
|
|
||||||
|
|
||||||
If taskwarrior will not build on your system, first take a look at the Operating
|
|
||||||
System notes below. If this doesn't help, then go to the Troubleshooting
|
|
||||||
section, which includes instructions on how to contact us for help.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Operating System Notes
|
|
||||||
----------------------
|
|
||||||
|
|
||||||
Cygwin 1.7
|
|
||||||
Building taskwarrior on Cygwin 1.7 requires a configure option:
|
|
||||||
|
|
||||||
./configure --with-ncurses-inc=/usr/include/ncurses
|
|
||||||
|
|
||||||
This is because the ncurses include files are in a different location to
|
|
||||||
Cygwin 1.5.
|
|
||||||
|
|
||||||
|
|
||||||
Haiku Alpha/R1
|
|
||||||
Taskwarrior must be built with gcc version 4.x, so make sure you run:
|
|
||||||
|
|
||||||
$ setgcc gcc4
|
|
||||||
|
|
||||||
To switch from gcc 2.95 to gcc 4.x.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Troubleshooting
|
|
||||||
---------------
|
|
||||||
|
|
||||||
In most cases, it is sufficient to run the configure program like this:
|
|
||||||
|
|
||||||
$ ./configure
|
|
||||||
|
|
||||||
Configure will run and locate all the necessary pieces for the build, and create
|
|
||||||
a Makefile. There may be errors and warnings when running configure, or there
|
|
||||||
may be compiler errors and warnings when running 'make'. Sometimes you will run
|
|
||||||
configure with no reported problems, and the build will fail later. This is
|
|
||||||
almost always because configure is mistaken about some assumption.
|
|
||||||
|
|
||||||
The configure program can accept several options that help with its ability to
|
|
||||||
locate and use the ncurses library. They are:
|
|
||||||
|
|
||||||
--with-ncurses
|
|
||||||
|
|
||||||
This option tells configure that no matter what it thinks, ncurses is
|
|
||||||
definitely on this system and should be enabled. If needed, this option
|
|
||||||
probable needs to be accompanied by the next two options.
|
|
||||||
|
|
||||||
--with-ncurses-inc=/usr/include
|
|
||||||
|
|
||||||
If configure cannot find ncurses header files, this option will tell it
|
|
||||||
exactly where to look. The path specified in this example is the default,
|
|
||||||
so that probably won't help you. The path should be the directory in which
|
|
||||||
the file 'ncurses.h' resides. Here are some possible values to try:
|
|
||||||
|
|
||||||
/usr/include (the default shown above)
|
|
||||||
/usr/include/ncurses
|
|
||||||
/usr/local/include
|
|
||||||
/usr/local/include/ncurses
|
|
||||||
|
|
||||||
This should cover most systems, but new variations keeps cropping up.
|
|
||||||
|
|
||||||
--with-ncurses-lib=/usr/lib
|
|
||||||
|
|
||||||
If configure cannot find the ncurses library, this option will tell it
|
|
||||||
exactly where to look. The path specified in this example is the default,
|
|
||||||
so that probably won't help you. The path should be the directory in which
|
|
||||||
the file 'libncurses.a' (or your system's equivalent) resides. Here are
|
|
||||||
some possible values to try:
|
|
||||||
|
|
||||||
/usr/lib
|
|
||||||
/usr/local/lib
|
|
||||||
|
|
||||||
This should cover most systems, but new variations keeps cropping up.
|
|
||||||
|
|
||||||
--without-ncurses
|
|
||||||
|
|
||||||
This disables ncurses support in taskwarrior, and should really be used as a
|
|
||||||
last resort. We know of no systems where this is needed.
|
|
||||||
|
|
||||||
If trying these options does not succeed, please send the contents of the
|
|
||||||
'config.log' files to support@taskwarrior.org, or post a message in the support
|
|
||||||
forums at taskwarrior.org along with the information.
|
|
||||||
|
|
||||||
If configure runs, but taskwarrior does not build, when ideally you would send
|
|
||||||
both the contents of config.log, and a transcript from the build, which is not
|
|
||||||
written to a file, and must be captured from the terminal.
|
|
||||||
|
|
||||||
---
|
|
||||||
67
cmake.h.in
Normal file
67
cmake.h.in
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
/* cmake.h.in. Creates cmake.h during a cmake run */
|
||||||
|
|
||||||
|
#define L10N // Localization complete.
|
||||||
|
|
||||||
|
/* Package information */
|
||||||
|
#define PACKAGE "${PACKAGE}"
|
||||||
|
#define VERSION "${VERSION}"
|
||||||
|
#define PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
|
||||||
|
#define PACKAGE_NAME "${PACKAGE_NAME}"
|
||||||
|
#define PACKAGE_TARNAME "${PACKAGE_TARNAME}"
|
||||||
|
#define PACKAGE_VERSION "${PACKAGE_VERSION}"
|
||||||
|
#define PACKAGE_STRING "${PACKAGE_STRING}"
|
||||||
|
|
||||||
|
/* Installation details */
|
||||||
|
#define TASK_RCDIR "${CMAKE_INSTALL_PREFIX}/${TASK_DOCDIR}/rc"
|
||||||
|
|
||||||
|
/* Localization */
|
||||||
|
#define PACKAGE_LANGUAGE ${PACKAGE_LANGUAGE}
|
||||||
|
#define LANGUAGE_EN_US ${LANGUAGE_EN_US}
|
||||||
|
#define LANGUAGE_ES_ES ${LANGUAGE_ES_ES}
|
||||||
|
#define LANGUAGE_DE_DE ${LANGUAGE_DE_DE}
|
||||||
|
#define LANGUAGE_FR_FR ${LANGUAGE_FR_FR}
|
||||||
|
|
||||||
|
/* git information */
|
||||||
|
#cmakedefine HAVE_COMMIT
|
||||||
|
|
||||||
|
/* cmake information */
|
||||||
|
#cmakedefine HAVE_CMAKE
|
||||||
|
#define CMAKE_VERSION "${CMAKE_VERSION}"
|
||||||
|
|
||||||
|
/* Compiling platform */
|
||||||
|
#cmakedefine LINUX
|
||||||
|
#cmakedefine DARWIN
|
||||||
|
#cmakedefine CYGWIN
|
||||||
|
#cmakedefine FREEBSD
|
||||||
|
#cmakedefine OPENBSD
|
||||||
|
#cmakedefine NETBSD
|
||||||
|
#cmakedefine HAIKU
|
||||||
|
#cmakedefine SOLARIS
|
||||||
|
#cmakedefine UNKNOWN
|
||||||
|
|
||||||
|
/* Found the pthread library */
|
||||||
|
#cmakedefine HAVE_LIBPTHREAD
|
||||||
|
|
||||||
|
/* Found the readline library */
|
||||||
|
#cmakedefine HAVE_READLINE
|
||||||
|
#cmakedefine HAVE_LIBREADLINE
|
||||||
|
|
||||||
|
/* Found random */
|
||||||
|
#cmakedefine HAVE_RANDOM
|
||||||
|
|
||||||
|
/* Found srandom */
|
||||||
|
#cmakedefine HAVE_SRANDOM
|
||||||
|
|
||||||
|
/* Found tm_gmtoff */
|
||||||
|
#cmakedefine HAVE_TM_GMTOFF
|
||||||
|
|
||||||
|
/* Found timegm */
|
||||||
|
#cmakedefine HAVE_TIMEGM
|
||||||
|
|
||||||
|
/* Found the uuid library */
|
||||||
|
#cmakedefine HAVE_UUID
|
||||||
|
#cmakedefine HAVE_UUID_UNPARSE_LOWER
|
||||||
|
|
||||||
|
/* Undefine this to eliminate the execute command */
|
||||||
|
#define HAVE_EXECUTE 1
|
||||||
|
|
||||||
5
commit.h.in
Normal file
5
commit.h.in
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
/* commit.h.in. Creates commit.h during a cmake run */
|
||||||
|
#define L10N // Localization complete.
|
||||||
|
|
||||||
|
/* git information */
|
||||||
|
#define COMMIT "${COMMIT}"
|
||||||
205
configure.ac
205
configure.ac
@@ -1,205 +0,0 @@
|
|||||||
# -*- Autoconf -*-
|
|
||||||
# Process this file with autoconf to produce a configure script.
|
|
||||||
|
|
||||||
AC_PREREQ(2.61)
|
|
||||||
AC_INIT(task, 1.9.3, support@taskwarrior.org)
|
|
||||||
|
|
||||||
|
|
||||||
# Source type.
|
|
||||||
AC_PROG_CXX
|
|
||||||
AC_PROG_CC
|
|
||||||
AC_LANG(C++)
|
|
||||||
|
|
||||||
|
|
||||||
# Local copies for modification and later AC_SUBST.
|
|
||||||
CFLAGS="${CFLAGS=}"
|
|
||||||
CXXFLAGS="${CXXFLAGS=}"
|
|
||||||
|
|
||||||
|
|
||||||
# this macro is used to get the arguments supplied
|
|
||||||
# to the configure script (./configure --enable-debug)
|
|
||||||
# Check if we have enable debug support.
|
|
||||||
AC_MSG_CHECKING(whether to enable debugging)
|
|
||||||
debug_default="no"
|
|
||||||
AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging
|
|
||||||
[default=$debug_default]],, enable_debug=$debug_default)
|
|
||||||
|
|
||||||
if test "x$enable_debug" = "xyes"; then
|
|
||||||
CFLAGS="$CFLAGS -Wall -pedantic -ggdb3 -DDEBUG"
|
|
||||||
CXXFLAGS="$CXXFLAGS -Wall -pedantic -ggdb3 -DDEBUG"
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
else
|
|
||||||
CFLAGS="$CFLAGS -Wall -pedantic -O3"
|
|
||||||
CXXFLAGS="$CXXFLAGS -Wall -pedantic -O3"
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# Check for OS.
|
|
||||||
OS=`uname|sed -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'|cut -c 1-5`
|
|
||||||
if test "$OS" = "sunos"; then
|
|
||||||
AC_MSG_NOTICE([OS Solaris detected])
|
|
||||||
AC_DEFINE([SOLARIS], [], [Compiling on Solaris])
|
|
||||||
elif test "$OS" = "darwi"; then
|
|
||||||
AC_MSG_NOTICE([OS Darwin detected])
|
|
||||||
AC_DEFINE([DARWIN], [], [Compiling on Darwin])
|
|
||||||
elif test "$OS" = "cygwi"; then
|
|
||||||
AC_MSG_NOTICE([OS Cygwin detected])
|
|
||||||
AC_DEFINE([CYGWIN], [], [Compiling on Cygwin])
|
|
||||||
elif test "$OS" = "openb"; then
|
|
||||||
AC_MSG_NOTICE([OS OpenBSD detected])
|
|
||||||
AC_DEFINE([OPENBSD], [], [Compiling on OpenBSD])
|
|
||||||
elif test "$OS" = "haiku"; then
|
|
||||||
AC_MSG_NOTICE([OS Haiku detected])
|
|
||||||
AC_DEFINE([HAIKU], [], [Compiling on Haiku])
|
|
||||||
elif test "$OS" = "freeb"; then
|
|
||||||
AC_MSG_NOTICE([OS FreeBSD detected])
|
|
||||||
AC_DEFINE([FREEBSD], [], [Compiling on FreeBSD])
|
|
||||||
elif test "$OS" = "linux"; then
|
|
||||||
AC_MSG_NOTICE([OS Linux detected])
|
|
||||||
AC_DEFINE([LINUX], [], [Compiling on Linux])
|
|
||||||
else
|
|
||||||
AC_MSG_NOTICE([OS not detected])
|
|
||||||
AC_DEFINE([UNKNOWN], [], [Compiling on Unknown])
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# ncurses enabled by default.
|
|
||||||
AC_ARG_WITH([ncurses],
|
|
||||||
[AS_HELP_STRING([--without-ncurses], [disable support for ncurses])],
|
|
||||||
[with_ncurses=no],
|
|
||||||
[with_ncurses=yes])
|
|
||||||
|
|
||||||
AC_ARG_WITH([ncurses-inc],
|
|
||||||
[AS_HELP_STRING ([--with-ncurses-inc=DIR], [ncurses include files are in DIR])],
|
|
||||||
[ncurses_inc=$withval],
|
|
||||||
[ncurses_inc=''])
|
|
||||||
|
|
||||||
AC_ARG_WITH([ncurses-lib],
|
|
||||||
[AS_HELP_STRING ([--with-ncurses-lib=DIR], [ncurses lib files are in DIR])],
|
|
||||||
[ncurses_lib=$withval],
|
|
||||||
[ncurses_lib=''])
|
|
||||||
|
|
||||||
if test "x$with_ncurses" = "xyes" ; then
|
|
||||||
AC_DEFINE([HAVE_LIBNCURSES], [1], [Defined if you have libncurses])
|
|
||||||
if test -n "$ncurses_inc"; then
|
|
||||||
CFLAGS="$CFLAGS -I$ncurses_inc"
|
|
||||||
CXXFLAGS="$CXXFLAGS -I$ncurses_inc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -n "$ncurses_lib"; then
|
|
||||||
LDFLAGS="$LDFLAGS -L$ncurses_lib"
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_CHECK_LIB([ncurses],[main])
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# Readline enabled by default.
|
|
||||||
#AC_ARG_WITH([readline],
|
|
||||||
# [AS_HELP_STRING([--without-readline], [disable support for readline])],
|
|
||||||
# [with_readline=no],
|
|
||||||
# [with_readline=yes])
|
|
||||||
#
|
|
||||||
#AC_ARG_WITH([readline-inc],
|
|
||||||
# [AS_HELP_STRING ([--with-readline-inc=DIR], [readline include files are in DIR])],
|
|
||||||
# [readline_inc=$withval],
|
|
||||||
# [readline_inc=''])
|
|
||||||
#
|
|
||||||
#AC_ARG_WITH([readline-lib],
|
|
||||||
# [AS_HELP_STRING ([--with-readline-lib=DIR], [readline lib files are in DIR])],
|
|
||||||
# [readline_lib=$withval],
|
|
||||||
# [readline_lib=''])
|
|
||||||
#
|
|
||||||
#if test "x$with_readline" = "xyes" ; then
|
|
||||||
# AC_DEFINE([HAVE_LIBREADLINE], [1], [Defined if you have libreadline])
|
|
||||||
# if test -n "$readline_inc"; then
|
|
||||||
# CFLAGS="$CFLAGS -I$readline_inc"
|
|
||||||
# CXXFLAGS="$CXXFLAGS -I$readline_inc"
|
|
||||||
# fi
|
|
||||||
#
|
|
||||||
# if test -n "$readline_lib"; then
|
|
||||||
# LDFLAGS="$LDFLAGS -L$readline_lib"
|
|
||||||
# fi
|
|
||||||
#
|
|
||||||
# AC_CHECK_LIB([readline],[main])
|
|
||||||
#fi
|
|
||||||
|
|
||||||
|
|
||||||
# Lua disabled by default.
|
|
||||||
AC_ARG_WITH([lua],
|
|
||||||
[AS_HELP_STRING([--with-lua], [enable support for lua])],
|
|
||||||
[with_lua=yes],
|
|
||||||
[with_lua=no])
|
|
||||||
|
|
||||||
AC_ARG_WITH([lua-inc],
|
|
||||||
[AS_HELP_STRING ([--with-lua-inc=DIR], [lua include files are in DIR])],
|
|
||||||
[lua_inc=$withval],
|
|
||||||
[lua_inc=''])
|
|
||||||
|
|
||||||
AC_ARG_WITH([lua-lib],
|
|
||||||
[AS_HELP_STRING ([--with-lua-lib=DIR], [lua lib files are in DIR])],
|
|
||||||
[lua_lib=$withval],
|
|
||||||
[lua_lib=''])
|
|
||||||
|
|
||||||
if test "x$with_lua" = "xyes" ; then
|
|
||||||
AC_DEFINE([HAVE_LIBLUA], [1], [Defined if you have liblua])
|
|
||||||
if test -n "$lua_inc"; then
|
|
||||||
CFLAGS="$CFLAGS -I$lua_inc"
|
|
||||||
CXXFLAGS="$CXXFLAGS -I$lua_inc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -n "$lua_lib"; then
|
|
||||||
LDFLAGS="$LDFLAGS -L$lua_lib"
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_CHECK_LIB([lua],[main])
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# Allow the changes above to take effect.
|
|
||||||
AC_SUBST(CFLAGS)
|
|
||||||
AC_SUBST(CXXFLAGS)
|
|
||||||
AC_SUBST(LDFLAGS)
|
|
||||||
|
|
||||||
|
|
||||||
# Now the smaller details.
|
|
||||||
AM_INIT_AUTOMAKE
|
|
||||||
AC_CONFIG_SRCDIR([src/main.cpp])
|
|
||||||
AC_CONFIG_HEADER([auto.h])
|
|
||||||
|
|
||||||
|
|
||||||
# Checks for libraries.
|
|
||||||
AC_CHECK_LIB(pthread,pthread_create)
|
|
||||||
|
|
||||||
|
|
||||||
# Checks for header files.
|
|
||||||
AC_HEADER_STDC
|
|
||||||
AC_CHECK_HEADERS([stdlib.h sys/file.h sys/stat.h sys/time.h unistd.h])
|
|
||||||
AC_CHECK_HEADERS([sstream string vector map])
|
|
||||||
|
|
||||||
|
|
||||||
# Checks for typedefs, structures, and compiler characteristics.
|
|
||||||
AC_HEADER_STDBOOL
|
|
||||||
AC_C_CONST
|
|
||||||
AC_TYPE_PID_T
|
|
||||||
AC_TYPE_SIZE_T
|
|
||||||
AC_HEADER_TIME
|
|
||||||
AC_STRUCT_TM
|
|
||||||
|
|
||||||
|
|
||||||
# Checks for library functions.
|
|
||||||
AC_FUNC_MKTIME
|
|
||||||
AC_FUNC_SELECT_ARGTYPES
|
|
||||||
AC_CHECK_FUNCS([select])
|
|
||||||
AC_CHECK_FUNC(uuid_unparse_lower, [AC_DEFINE([HAVE_UUID], [1], [Found uuid_unparse_lower])])
|
|
||||||
AC_CHECK_FUNC(random, [AC_DEFINE([HAVE_RANDOM], [1], [Found random])])
|
|
||||||
AC_CHECK_FUNC(srandom, [AC_DEFINE([HAVE_SRANDOM], [1], [Found srandom])])
|
|
||||||
|
|
||||||
|
|
||||||
# Generate the Makefiles.
|
|
||||||
AC_CONFIG_FILES([Makefile src/Makefile])
|
|
||||||
AC_OUTPUT
|
|
||||||
|
|
||||||
# End.
|
|
||||||
|
|
||||||
584
depcomp
584
depcomp
@@ -1,584 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
# depcomp - compile a program generating dependencies as side-effects
|
|
||||||
|
|
||||||
scriptversion=2006-10-15.18
|
|
||||||
|
|
||||||
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
|
|
||||||
# Foundation, Inc.
|
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with this program; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
||||||
# 02110-1301, USA.
|
|
||||||
|
|
||||||
# As a special exception to the GNU General Public License, if you
|
|
||||||
# distribute this file as part of a program that contains a
|
|
||||||
# configuration script generated by Autoconf, you may include it under
|
|
||||||
# the same distribution terms that you use for the rest of that program.
|
|
||||||
|
|
||||||
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
|
||||||
|
|
||||||
case $1 in
|
|
||||||
'')
|
|
||||||
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
-h | --h*)
|
|
||||||
cat <<\EOF
|
|
||||||
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
|
|
||||||
|
|
||||||
Run PROGRAMS ARGS to compile a file, generating dependencies
|
|
||||||
as side-effects.
|
|
||||||
|
|
||||||
Environment variables:
|
|
||||||
depmode Dependency tracking mode.
|
|
||||||
source Source file read by `PROGRAMS ARGS'.
|
|
||||||
object Object file output by `PROGRAMS ARGS'.
|
|
||||||
DEPDIR directory where to store dependencies.
|
|
||||||
depfile Dependency file to output.
|
|
||||||
tmpdepfile Temporary file to use when outputing dependencies.
|
|
||||||
libtool Whether libtool is used (yes/no).
|
|
||||||
|
|
||||||
Report bugs to <bug-automake@gnu.org>.
|
|
||||||
EOF
|
|
||||||
exit $?
|
|
||||||
;;
|
|
||||||
-v | --v*)
|
|
||||||
echo "depcomp $scriptversion"
|
|
||||||
exit $?
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
|
||||||
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
|
|
||||||
depfile=${depfile-`echo "$object" |
|
|
||||||
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
|
|
||||||
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
|
||||||
|
|
||||||
rm -f "$tmpdepfile"
|
|
||||||
|
|
||||||
# Some modes work just like other modes, but use different flags. We
|
|
||||||
# parameterize here, but still list the modes in the big case below,
|
|
||||||
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
|
||||||
# here, because this file can only contain one case statement.
|
|
||||||
if test "$depmode" = hp; then
|
|
||||||
# HP compiler uses -M and no extra arg.
|
|
||||||
gccflag=-M
|
|
||||||
depmode=gcc
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$depmode" = dashXmstdout; then
|
|
||||||
# This is just like dashmstdout with a different argument.
|
|
||||||
dashmflag=-xM
|
|
||||||
depmode=dashmstdout
|
|
||||||
fi
|
|
||||||
|
|
||||||
case "$depmode" in
|
|
||||||
gcc3)
|
|
||||||
## gcc 3 implements dependency tracking that does exactly what
|
|
||||||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
|
||||||
## it if -MD -MP comes after the -MF stuff. Hmm.
|
|
||||||
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
|
|
||||||
## the command line argument order; so add the flags where they
|
|
||||||
## appear in depend2.am. Note that the slowdown incurred here
|
|
||||||
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
|
|
||||||
for arg
|
|
||||||
do
|
|
||||||
case $arg in
|
|
||||||
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
|
|
||||||
*) set fnord "$@" "$arg" ;;
|
|
||||||
esac
|
|
||||||
shift # fnord
|
|
||||||
shift # $arg
|
|
||||||
done
|
|
||||||
"$@"
|
|
||||||
stat=$?
|
|
||||||
if test $stat -eq 0; then :
|
|
||||||
else
|
|
||||||
rm -f "$tmpdepfile"
|
|
||||||
exit $stat
|
|
||||||
fi
|
|
||||||
mv "$tmpdepfile" "$depfile"
|
|
||||||
;;
|
|
||||||
|
|
||||||
gcc)
|
|
||||||
## There are various ways to get dependency output from gcc. Here's
|
|
||||||
## why we pick this rather obscure method:
|
|
||||||
## - Don't want to use -MD because we'd like the dependencies to end
|
|
||||||
## up in a subdir. Having to rename by hand is ugly.
|
|
||||||
## (We might end up doing this anyway to support other compilers.)
|
|
||||||
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
|
||||||
## -MM, not -M (despite what the docs say).
|
|
||||||
## - Using -M directly means running the compiler twice (even worse
|
|
||||||
## than renaming).
|
|
||||||
if test -z "$gccflag"; then
|
|
||||||
gccflag=-MD,
|
|
||||||
fi
|
|
||||||
"$@" -Wp,"$gccflag$tmpdepfile"
|
|
||||||
stat=$?
|
|
||||||
if test $stat -eq 0; then :
|
|
||||||
else
|
|
||||||
rm -f "$tmpdepfile"
|
|
||||||
exit $stat
|
|
||||||
fi
|
|
||||||
rm -f "$depfile"
|
|
||||||
echo "$object : \\" > "$depfile"
|
|
||||||
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
|
|
||||||
## The second -e expression handles DOS-style file names with drive letters.
|
|
||||||
sed -e 's/^[^:]*: / /' \
|
|
||||||
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
|
||||||
## This next piece of magic avoids the `deleted header file' problem.
|
|
||||||
## The problem is that when a header file which appears in a .P file
|
|
||||||
## is deleted, the dependency causes make to die (because there is
|
|
||||||
## typically no way to rebuild the header). We avoid this by adding
|
|
||||||
## dummy dependencies for each header file. Too bad gcc doesn't do
|
|
||||||
## this for us directly.
|
|
||||||
tr ' ' '
|
|
||||||
' < "$tmpdepfile" |
|
|
||||||
## Some versions of gcc put a space before the `:'. On the theory
|
|
||||||
## that the space means something, we add a space to the output as
|
|
||||||
## well.
|
|
||||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
|
||||||
## correctly. Breaking it into two sed invocations is a workaround.
|
|
||||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
|
||||||
rm -f "$tmpdepfile"
|
|
||||||
;;
|
|
||||||
|
|
||||||
hp)
|
|
||||||
# This case exists only to let depend.m4 do its work. It works by
|
|
||||||
# looking at the text of this script. This case will never be run,
|
|
||||||
# since it is checked for above.
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
|
|
||||||
sgi)
|
|
||||||
if test "$libtool" = yes; then
|
|
||||||
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
|
||||||
else
|
|
||||||
"$@" -MDupdate "$tmpdepfile"
|
|
||||||
fi
|
|
||||||
stat=$?
|
|
||||||
if test $stat -eq 0; then :
|
|
||||||
else
|
|
||||||
rm -f "$tmpdepfile"
|
|
||||||
exit $stat
|
|
||||||
fi
|
|
||||||
rm -f "$depfile"
|
|
||||||
|
|
||||||
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
|
||||||
echo "$object : \\" > "$depfile"
|
|
||||||
|
|
||||||
# Clip off the initial element (the dependent). Don't try to be
|
|
||||||
# clever and replace this with sed code, as IRIX sed won't handle
|
|
||||||
# lines with more than a fixed number of characters (4096 in
|
|
||||||
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
|
||||||
# the IRIX cc adds comments like `#:fec' to the end of the
|
|
||||||
# dependency line.
|
|
||||||
tr ' ' '
|
|
||||||
' < "$tmpdepfile" \
|
|
||||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
|
|
||||||
tr '
|
|
||||||
' ' ' >> $depfile
|
|
||||||
echo >> $depfile
|
|
||||||
|
|
||||||
# The second pass generates a dummy entry for each header file.
|
|
||||||
tr ' ' '
|
|
||||||
' < "$tmpdepfile" \
|
|
||||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
|
||||||
>> $depfile
|
|
||||||
else
|
|
||||||
# The sourcefile does not contain any dependencies, so just
|
|
||||||
# store a dummy comment line, to avoid errors with the Makefile
|
|
||||||
# "include basename.Plo" scheme.
|
|
||||||
echo "#dummy" > "$depfile"
|
|
||||||
fi
|
|
||||||
rm -f "$tmpdepfile"
|
|
||||||
;;
|
|
||||||
|
|
||||||
aix)
|
|
||||||
# The C for AIX Compiler uses -M and outputs the dependencies
|
|
||||||
# in a .u file. In older versions, this file always lives in the
|
|
||||||
# current directory. Also, the AIX compiler puts `$object:' at the
|
|
||||||
# start of each line; $object doesn't have directory information.
|
|
||||||
# Version 6 uses the directory in both cases.
|
|
||||||
stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
|
|
||||||
tmpdepfile="$stripped.u"
|
|
||||||
if test "$libtool" = yes; then
|
|
||||||
"$@" -Wc,-M
|
|
||||||
else
|
|
||||||
"$@" -M
|
|
||||||
fi
|
|
||||||
stat=$?
|
|
||||||
|
|
||||||
if test -f "$tmpdepfile"; then :
|
|
||||||
else
|
|
||||||
stripped=`echo "$stripped" | sed 's,^.*/,,'`
|
|
||||||
tmpdepfile="$stripped.u"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test $stat -eq 0; then :
|
|
||||||
else
|
|
||||||
rm -f "$tmpdepfile"
|
|
||||||
exit $stat
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -f "$tmpdepfile"; then
|
|
||||||
outname="$stripped.o"
|
|
||||||
# Each line is of the form `foo.o: dependent.h'.
|
|
||||||
# Do two passes, one to just change these to
|
|
||||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
|
||||||
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
|
|
||||||
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
|
|
||||||
else
|
|
||||||
# The sourcefile does not contain any dependencies, so just
|
|
||||||
# store a dummy comment line, to avoid errors with the Makefile
|
|
||||||
# "include basename.Plo" scheme.
|
|
||||||
echo "#dummy" > "$depfile"
|
|
||||||
fi
|
|
||||||
rm -f "$tmpdepfile"
|
|
||||||
;;
|
|
||||||
|
|
||||||
icc)
|
|
||||||
# Intel's C compiler understands `-MD -MF file'. However on
|
|
||||||
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
|
|
||||||
# ICC 7.0 will fill foo.d with something like
|
|
||||||
# foo.o: sub/foo.c
|
|
||||||
# foo.o: sub/foo.h
|
|
||||||
# which is wrong. We want:
|
|
||||||
# sub/foo.o: sub/foo.c
|
|
||||||
# sub/foo.o: sub/foo.h
|
|
||||||
# sub/foo.c:
|
|
||||||
# sub/foo.h:
|
|
||||||
# ICC 7.1 will output
|
|
||||||
# foo.o: sub/foo.c sub/foo.h
|
|
||||||
# and will wrap long lines using \ :
|
|
||||||
# foo.o: sub/foo.c ... \
|
|
||||||
# sub/foo.h ... \
|
|
||||||
# ...
|
|
||||||
|
|
||||||
"$@" -MD -MF "$tmpdepfile"
|
|
||||||
stat=$?
|
|
||||||
if test $stat -eq 0; then :
|
|
||||||
else
|
|
||||||
rm -f "$tmpdepfile"
|
|
||||||
exit $stat
|
|
||||||
fi
|
|
||||||
rm -f "$depfile"
|
|
||||||
# Each line is of the form `foo.o: dependent.h',
|
|
||||||
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
|
|
||||||
# Do two passes, one to just change these to
|
|
||||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
|
||||||
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
|
|
||||||
# Some versions of the HPUX 10.20 sed can't process this invocation
|
|
||||||
# correctly. Breaking it into two sed invocations is a workaround.
|
|
||||||
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
|
|
||||||
sed -e 's/$/ :/' >> "$depfile"
|
|
||||||
rm -f "$tmpdepfile"
|
|
||||||
;;
|
|
||||||
|
|
||||||
hp2)
|
|
||||||
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
|
|
||||||
# compilers, which have integrated preprocessors. The correct option
|
|
||||||
# to use with these is +Maked; it writes dependencies to a file named
|
|
||||||
# 'foo.d', which lands next to the object file, wherever that
|
|
||||||
# happens to be.
|
|
||||||
# Much of this is similar to the tru64 case; see comments there.
|
|
||||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
|
||||||
test "x$dir" = "x$object" && dir=
|
|
||||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
|
||||||
if test "$libtool" = yes; then
|
|
||||||
tmpdepfile1=$dir$base.d
|
|
||||||
tmpdepfile2=$dir.libs/$base.d
|
|
||||||
"$@" -Wc,+Maked
|
|
||||||
else
|
|
||||||
tmpdepfile1=$dir$base.d
|
|
||||||
tmpdepfile2=$dir$base.d
|
|
||||||
"$@" +Maked
|
|
||||||
fi
|
|
||||||
stat=$?
|
|
||||||
if test $stat -eq 0; then :
|
|
||||||
else
|
|
||||||
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
|
||||||
exit $stat
|
|
||||||
fi
|
|
||||||
|
|
||||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
|
|
||||||
do
|
|
||||||
test -f "$tmpdepfile" && break
|
|
||||||
done
|
|
||||||
if test -f "$tmpdepfile"; then
|
|
||||||
sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
|
|
||||||
# Add `dependent.h:' lines.
|
|
||||||
sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
|
|
||||||
else
|
|
||||||
echo "#dummy" > "$depfile"
|
|
||||||
fi
|
|
||||||
rm -f "$tmpdepfile" "$tmpdepfile2"
|
|
||||||
;;
|
|
||||||
|
|
||||||
tru64)
|
|
||||||
# The Tru64 compiler uses -MD to generate dependencies as a side
|
|
||||||
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
|
||||||
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
|
||||||
# dependencies in `foo.d' instead, so we check for that too.
|
|
||||||
# Subdirectories are respected.
|
|
||||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
|
||||||
test "x$dir" = "x$object" && dir=
|
|
||||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
|
||||||
|
|
||||||
if test "$libtool" = yes; then
|
|
||||||
# With Tru64 cc, shared objects can also be used to make a
|
|
||||||
# static library. This mechanism is used in libtool 1.4 series to
|
|
||||||
# handle both shared and static libraries in a single compilation.
|
|
||||||
# With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
|
|
||||||
#
|
|
||||||
# With libtool 1.5 this exception was removed, and libtool now
|
|
||||||
# generates 2 separate objects for the 2 libraries. These two
|
|
||||||
# compilations output dependencies in $dir.libs/$base.o.d and
|
|
||||||
# in $dir$base.o.d. We have to check for both files, because
|
|
||||||
# one of the two compilations can be disabled. We should prefer
|
|
||||||
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
|
|
||||||
# automatically cleaned when .libs/ is deleted, while ignoring
|
|
||||||
# the former would cause a distcleancheck panic.
|
|
||||||
tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
|
|
||||||
tmpdepfile2=$dir$base.o.d # libtool 1.5
|
|
||||||
tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
|
|
||||||
tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
|
|
||||||
"$@" -Wc,-MD
|
|
||||||
else
|
|
||||||
tmpdepfile1=$dir$base.o.d
|
|
||||||
tmpdepfile2=$dir$base.d
|
|
||||||
tmpdepfile3=$dir$base.d
|
|
||||||
tmpdepfile4=$dir$base.d
|
|
||||||
"$@" -MD
|
|
||||||
fi
|
|
||||||
|
|
||||||
stat=$?
|
|
||||||
if test $stat -eq 0; then :
|
|
||||||
else
|
|
||||||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
|
|
||||||
exit $stat
|
|
||||||
fi
|
|
||||||
|
|
||||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
|
|
||||||
do
|
|
||||||
test -f "$tmpdepfile" && break
|
|
||||||
done
|
|
||||||
if test -f "$tmpdepfile"; then
|
|
||||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
|
||||||
# That's a tab and a space in the [].
|
|
||||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
|
||||||
else
|
|
||||||
echo "#dummy" > "$depfile"
|
|
||||||
fi
|
|
||||||
rm -f "$tmpdepfile"
|
|
||||||
;;
|
|
||||||
|
|
||||||
#nosideeffect)
|
|
||||||
# This comment above is used by automake to tell side-effect
|
|
||||||
# dependency tracking mechanisms from slower ones.
|
|
||||||
|
|
||||||
dashmstdout)
|
|
||||||
# Important note: in order to support this mode, a compiler *must*
|
|
||||||
# always write the preprocessed file to stdout, regardless of -o.
|
|
||||||
"$@" || exit $?
|
|
||||||
|
|
||||||
# Remove the call to Libtool.
|
|
||||||
if test "$libtool" = yes; then
|
|
||||||
while test $1 != '--mode=compile'; do
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
shift
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Remove `-o $object'.
|
|
||||||
IFS=" "
|
|
||||||
for arg
|
|
||||||
do
|
|
||||||
case $arg in
|
|
||||||
-o)
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
$object)
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
set fnord "$@" "$arg"
|
|
||||||
shift # fnord
|
|
||||||
shift # $arg
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
test -z "$dashmflag" && dashmflag=-M
|
|
||||||
# Require at least two characters before searching for `:'
|
|
||||||
# in the target name. This is to cope with DOS-style filenames:
|
|
||||||
# a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
|
|
||||||
"$@" $dashmflag |
|
|
||||||
sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
|
|
||||||
rm -f "$depfile"
|
|
||||||
cat < "$tmpdepfile" > "$depfile"
|
|
||||||
tr ' ' '
|
|
||||||
' < "$tmpdepfile" | \
|
|
||||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
|
||||||
## correctly. Breaking it into two sed invocations is a workaround.
|
|
||||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
|
||||||
rm -f "$tmpdepfile"
|
|
||||||
;;
|
|
||||||
|
|
||||||
dashXmstdout)
|
|
||||||
# This case only exists to satisfy depend.m4. It is never actually
|
|
||||||
# run, as this mode is specially recognized in the preamble.
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
|
|
||||||
makedepend)
|
|
||||||
"$@" || exit $?
|
|
||||||
# Remove any Libtool call
|
|
||||||
if test "$libtool" = yes; then
|
|
||||||
while test $1 != '--mode=compile'; do
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
shift
|
|
||||||
fi
|
|
||||||
# X makedepend
|
|
||||||
shift
|
|
||||||
cleared=no
|
|
||||||
for arg in "$@"; do
|
|
||||||
case $cleared in
|
|
||||||
no)
|
|
||||||
set ""; shift
|
|
||||||
cleared=yes ;;
|
|
||||||
esac
|
|
||||||
case "$arg" in
|
|
||||||
-D*|-I*)
|
|
||||||
set fnord "$@" "$arg"; shift ;;
|
|
||||||
# Strip any option that makedepend may not understand. Remove
|
|
||||||
# the object too, otherwise makedepend will parse it as a source file.
|
|
||||||
-*|$object)
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
set fnord "$@" "$arg"; shift ;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
obj_suffix="`echo $object | sed 's/^.*\././'`"
|
|
||||||
touch "$tmpdepfile"
|
|
||||||
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
|
||||||
rm -f "$depfile"
|
|
||||||
cat < "$tmpdepfile" > "$depfile"
|
|
||||||
sed '1,2d' "$tmpdepfile" | tr ' ' '
|
|
||||||
' | \
|
|
||||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
|
||||||
## correctly. Breaking it into two sed invocations is a workaround.
|
|
||||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
|
||||||
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
|
||||||
;;
|
|
||||||
|
|
||||||
cpp)
|
|
||||||
# Important note: in order to support this mode, a compiler *must*
|
|
||||||
# always write the preprocessed file to stdout.
|
|
||||||
"$@" || exit $?
|
|
||||||
|
|
||||||
# Remove the call to Libtool.
|
|
||||||
if test "$libtool" = yes; then
|
|
||||||
while test $1 != '--mode=compile'; do
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
shift
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Remove `-o $object'.
|
|
||||||
IFS=" "
|
|
||||||
for arg
|
|
||||||
do
|
|
||||||
case $arg in
|
|
||||||
-o)
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
$object)
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
set fnord "$@" "$arg"
|
|
||||||
shift # fnord
|
|
||||||
shift # $arg
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
"$@" -E |
|
|
||||||
sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
|
||||||
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
|
||||||
sed '$ s: \\$::' > "$tmpdepfile"
|
|
||||||
rm -f "$depfile"
|
|
||||||
echo "$object : \\" > "$depfile"
|
|
||||||
cat < "$tmpdepfile" >> "$depfile"
|
|
||||||
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
|
||||||
rm -f "$tmpdepfile"
|
|
||||||
;;
|
|
||||||
|
|
||||||
msvisualcpp)
|
|
||||||
# Important note: in order to support this mode, a compiler *must*
|
|
||||||
# always write the preprocessed file to stdout, regardless of -o,
|
|
||||||
# because we must use -o when running libtool.
|
|
||||||
"$@" || exit $?
|
|
||||||
IFS=" "
|
|
||||||
for arg
|
|
||||||
do
|
|
||||||
case "$arg" in
|
|
||||||
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
|
|
||||||
set fnord "$@"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
set fnord "$@" "$arg"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
"$@" -E |
|
|
||||||
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
|
|
||||||
rm -f "$depfile"
|
|
||||||
echo "$object : \\" > "$depfile"
|
|
||||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
|
|
||||||
echo " " >> "$depfile"
|
|
||||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
|
||||||
rm -f "$tmpdepfile"
|
|
||||||
;;
|
|
||||||
|
|
||||||
none)
|
|
||||||
exec "$@"
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
echo "Unknown depmode $depmode" 1>&2
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
# Local Variables:
|
|
||||||
# mode: shell-script
|
|
||||||
# sh-indentation: 2
|
|
||||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
|
||||||
# time-stamp-start: "scriptversion="
|
|
||||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
|
||||||
# time-stamp-end: "$"
|
|
||||||
# End:
|
|
||||||
16
doc/CMakeLists.txt
Normal file
16
doc/CMakeLists.txt
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
cmake_minimum_required (VERSION 2.8)
|
||||||
|
message ("-- Configuring man pages")
|
||||||
|
set (man_FILES task-color.5 task-faq.5 task-sync.5 task-tutorial.5 task.1 taskrc.5)
|
||||||
|
foreach (man_FILE ${man_FILES})
|
||||||
|
configure_file (
|
||||||
|
man/${man_FILE}.in
|
||||||
|
man/${man_FILE})
|
||||||
|
endforeach (man_FILE)
|
||||||
|
|
||||||
|
install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man/ DESTINATION ${TASK_MAN1DIR}
|
||||||
|
FILES_MATCHING PATTERN "*.1")
|
||||||
|
install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man/ DESTINATION ${TASK_MAN5DIR}
|
||||||
|
FILES_MATCHING PATTERN "*.5")
|
||||||
|
install (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/rc DESTINATION ${TASK_DOCDIR})
|
||||||
|
|
||||||
|
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/ref/task-ref.pdf DESTINATION ${TASK_DOCDIR})
|
||||||
6
doc/man/.gitignore
vendored
Normal file
6
doc/man/.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
task-color.5
|
||||||
|
task-faq.5
|
||||||
|
task-sync.5
|
||||||
|
task-tutorial.5
|
||||||
|
task.1
|
||||||
|
taskrc.5
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
.TH task-color 5 2010-10-07 "task 1.9.3" "User Manuals"
|
.TH task-color 5 2013-04-07 "${PACKAGE_STRING}" "User Manuals"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
task-color \- A color tutorial for the task(1) command line todo manager.
|
task-color \- A color tutorial for the taskwarrior command line todo manager.
|
||||||
|
|
||||||
.SH SETUP
|
.SH SETUP
|
||||||
The first thing you need is a terminal program that supports color. All
|
The first thing you need is a terminal program that supports color. All
|
||||||
@@ -41,14 +41,14 @@ Do we really want all those color control codes in the file? Taskwarrior
|
|||||||
assumes that you do not, and temporarily sets color to 'off' while generating
|
assumes that you do not, and temporarily sets color to 'off' while generating
|
||||||
the output. This explains the output from the following command:
|
the output. This explains the output from the following command:
|
||||||
|
|
||||||
$ task config | grep '^color '
|
$ task show | grep '^color '
|
||||||
color off
|
color off
|
||||||
|
|
||||||
it always returns 'off', no matter what the setting.
|
it always returns 'off', no matter what the setting, because the output is being
|
||||||
|
sent to a pipe.
|
||||||
|
|
||||||
The reason is that the taskwarrior output gets piped into grep, and the color is
|
If you wanted those color codes, you can override this behavior by setting the
|
||||||
disabled. If you wanted those color codes, you can override this behavior by
|
_forcecolor variable to on, like this:
|
||||||
setting the _forcecolor variable to on, like this:
|
|
||||||
|
|
||||||
$ task config _forcecolor on
|
$ task config _forcecolor on
|
||||||
$ task config | grep '^color '
|
$ task config | grep '^color '
|
||||||
@@ -106,6 +106,10 @@ There is an additional 'underline' attribute that may be used:
|
|||||||
|
|
||||||
underline bright red on black
|
underline bright red on black
|
||||||
|
|
||||||
|
And an 'inverse' attribute:
|
||||||
|
|
||||||
|
inverse red
|
||||||
|
|
||||||
Taskwarrior has a command that helps you visualize these color combinations.
|
Taskwarrior has a command that helps you visualize these color combinations.
|
||||||
Try this:
|
Try this:
|
||||||
|
|
||||||
@@ -117,7 +121,7 @@ the sample requested.
|
|||||||
|
|
||||||
Some combinations look very nice, some look terrible. Different terminal
|
Some combinations look very nice, some look terrible. Different terminal
|
||||||
programs do implement slightly different versions of 'red', for example, so you
|
programs do implement slightly different versions of 'red', for example, so you
|
||||||
may see some unwanted variation due to the program. The brightness of your
|
may see some unexpected variation across machines. The brightness of your
|
||||||
display is also a factor.
|
display is also a factor.
|
||||||
|
|
||||||
.SH 256-COLOR SUPPORT
|
.SH 256-COLOR SUPPORT
|
||||||
@@ -189,7 +193,7 @@ combination:
|
|||||||
red on gray3
|
red on gray3
|
||||||
|
|
||||||
you are mixing a 16-color and 256-color specification. Taskwarrior will map red
|
you are mixing a 16-color and 256-color specification. Taskwarrior will map red
|
||||||
to color1, and proceed. Note that red and color1 are not quite the same.
|
to color1, and proceed. Note that red and color1 are not quite the same tone.
|
||||||
|
|
||||||
Note also that there is no bold or bright attributes when dealing with 256
|
Note also that there is no bold or bright attributes when dealing with 256
|
||||||
colors, but there is still underline available.
|
colors, but there is still underline available.
|
||||||
@@ -206,7 +210,7 @@ without necessarily creating a set of tasks that meet each of the rule criteria.
|
|||||||
.SH RULES
|
.SH RULES
|
||||||
Taskwarrior supports colorization rules. These are configuration values that
|
Taskwarrior supports colorization rules. These are configuration values that
|
||||||
specify a color, and the conditions under which that color is used. By example,
|
specify a color, and the conditions under which that color is used. By example,
|
||||||
let's add a few tasks:
|
let us add a few tasks:
|
||||||
|
|
||||||
$ task add project:Home priority:H pay the bills (1)
|
$ task add project:Home priority:H pay the bills (1)
|
||||||
$ task add project:Home clean the rug (2)
|
$ task add project:Home clean the rug (2)
|
||||||
@@ -215,13 +219,13 @@ let's add a few tasks:
|
|||||||
We can add a color rule that uses a blue background for all tasks in the Home
|
We can add a color rule that uses a blue background for all tasks in the Home
|
||||||
project:
|
project:
|
||||||
|
|
||||||
$ task config color.project.Home on blue
|
$ task config color.project.Home 'on blue'
|
||||||
|
|
||||||
We use quotes around "on blue" because there are two words, but they represent
|
We use quotes around 'on blue' because there are two words, but they represent
|
||||||
one value in the .taskrc file. Now suppose we which to use a bold yellow text
|
one value in the .taskrc file. Now suppose we wish to use a bold yellow text
|
||||||
color for all cleaning work:
|
color for all cleaning work:
|
||||||
|
|
||||||
$ task config color.keyword.clean bold yellow
|
$ task config color.keyword.clean 'bold yellow'
|
||||||
|
|
||||||
Now what happens to task 2, which belongs to project Home (blue background), and
|
Now what happens to task 2, which belongs to project Home (blue background), and
|
||||||
is also a cleaning task (bold yellow foreground)? The colors are combined, and
|
is also a cleaning task (bold yellow foreground)? The colors are combined, and
|
||||||
@@ -236,19 +240,20 @@ It is possible to create a very colorful mix of rules. With 256-color support,
|
|||||||
those colors can be made subtle, and complementary, but without care, this can
|
those colors can be made subtle, and complementary, but without care, this can
|
||||||
be a visual mess. Beware!
|
be a visual mess. Beware!
|
||||||
|
|
||||||
The precedence for the color rules is determined by the configuration variable
|
The precedence for the color rules is determined by the configuration
|
||||||
'rule.precedence.color', which by default contains:
|
variable 'rule.precedence.color', which by default contains:
|
||||||
|
|
||||||
due.today,active,blocked,overdue,due,keyword,project,tag,recurring,pri,tagged
|
due.today,active,blocking,blocked,overdue,due,scheduled,keyword.,project.,tag.,uda.,recurring,pri.,tagged,completed,deleted
|
||||||
|
|
||||||
These are just the color rules with the 'color.' prefix removed. The rule
|
These are just the color rules with the 'color.' prefix removed. The
|
||||||
'color.due.today' is the highest precedence, and 'color.tagged' is the lowest.
|
rule 'color.due.today' is the highest precedence, and 'color.deleted' is the lowest.
|
||||||
|
|
||||||
The keyword rule shown here as 'keyword' corresponds to a wildcard pattern,
|
The keyword rule shown here as 'keyword.' corresponds to a wildcard pattern,
|
||||||
meaning 'color.keyword.*', or in other words all the keyword rules. Similarly
|
meaning 'color.keyword.*', or in other words all the keyword rules. Similarly
|
||||||
for the 'color.tag.*' and 'color.project.*' rules.
|
for the 'color.tag.*' and 'color.project.*' rules.
|
||||||
|
|
||||||
There is also 'color.project.none', 'color.tag.none' and 'color.pri.none'.
|
There is also 'color.project.none', 'color.tag.none' and 'color.pri.none' to
|
||||||
|
specifically represent missing data.
|
||||||
|
|
||||||
.SH THEMES
|
.SH THEMES
|
||||||
Taskwarrior supports themes. What this really means is that with the ability to
|
Taskwarrior supports themes. What this really means is that with the ability to
|
||||||
@@ -256,7 +261,8 @@ include other files into the .taskrc file, different sets of color rules can
|
|||||||
be included.
|
be included.
|
||||||
|
|
||||||
To get a good idea of what a color theme looks like, try adding this entry to
|
To get a good idea of what a color theme looks like, try adding this entry to
|
||||||
your .taskrc file:
|
your .taskrc file (note that your installation may use a slightly different path
|
||||||
|
from the example):
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
include /usr/local/share/doc/task/rc/dark-256.theme
|
include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
@@ -265,19 +271,29 @@ include /usr/local/share/doc/task/rc/dark-256.theme
|
|||||||
You can use any of the standard taskwarrior themes:
|
You can use any of the standard taskwarrior themes:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
light-16.theme
|
|
||||||
.br
|
|
||||||
light-256.theme
|
|
||||||
.br
|
|
||||||
dark-16.theme
|
dark-16.theme
|
||||||
.br
|
.br
|
||||||
dark-256.theme
|
dark-256.theme
|
||||||
.br
|
.br
|
||||||
dark-red-256.theme
|
dark-blue-256.theme
|
||||||
|
.br
|
||||||
|
dark-gray-256.theme
|
||||||
.br
|
.br
|
||||||
dark-green-256.theme
|
dark-green-256.theme
|
||||||
.br
|
.br
|
||||||
dark-blue-256.theme
|
dark-red-256.theme
|
||||||
|
.br
|
||||||
|
dark-violets-256.theme
|
||||||
|
.br
|
||||||
|
dark-yellow-green.theme
|
||||||
|
.br
|
||||||
|
light-16.theme
|
||||||
|
.br
|
||||||
|
light-256.theme
|
||||||
|
.br
|
||||||
|
solarized-dark-256.theme
|
||||||
|
.br
|
||||||
|
solarized-light-256.theme
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
You can also see how the theme will color the various tasks with the command:
|
You can also see how the theme will color the various tasks with the command:
|
||||||
@@ -288,14 +304,10 @@ Better yet, create your own, and share it. We will gladly host the theme file
|
|||||||
on <http://taskwarrior.org>.
|
on <http://taskwarrior.org>.
|
||||||
|
|
||||||
.SH "CREDITS & COPYRIGHTS"
|
.SH "CREDITS & COPYRIGHTS"
|
||||||
Taskwarrior was written by P. Beckingham <paul@beckingham.net>.
|
Copyright (C) 2006 \- 2013 P. Beckingham, F. Hernandez.
|
||||||
.br
|
|
||||||
Copyright (C) 2006 \- 2010 P. Beckingham
|
|
||||||
|
|
||||||
This man page was originally written by Paul Beckingham.
|
Taskwarrior is distributed under the MIT license. See
|
||||||
|
http://www.opensource.org/licenses/mit-license.php for more information.
|
||||||
Taskwarrior is distributed under the GNU General Public License. See
|
|
||||||
http://www.gnu.org/licenses/gpl-2.0.txt for more information.
|
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR task(1),
|
.BR task(1),
|
||||||
@@ -1,57 +1,65 @@
|
|||||||
.TH task-faq 5 2010-10-07 "task 1.9.3" "User Manuals"
|
.TH task-faq 5 2013-04-07 "${PACKAGE_STRING}" "User Manuals"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
task-faq \- A FAQ for the task(1) command line todo manager.
|
task-faq \- A FAQ for the task(1) command line todo manager.
|
||||||
|
|
||||||
.SH DESCRIPTION
|
|
||||||
Taskwarrior is a command line TODO list manager. It maintains a list of tasks
|
|
||||||
that you want to do, allowing you to add/remove, and otherwise manipulate them.
|
|
||||||
Taskwarrior has a rich list of commands that allow you to do various things with it.
|
|
||||||
|
|
||||||
.SH WELCOME
|
.SH WELCOME
|
||||||
Welcome to the taskwarrior FAQ. If you have would like to see a question answered
|
Welcome to the taskwarrior FAQ. If you would like to see a question answered
|
||||||
here, please send us a note at <support@taskwarrior.org>.
|
here, please send us a note to <support@taskwarrior.org>.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: When I redirect the output to a file, I lose all the colors. How do I fix this?
|
.B Q: When I redirect the output to a file, I lose all the colors. How do I fix this?
|
||||||
A: Taskwarrior knows (or thinks it knows) when the output is not going directly
|
Taskwarrior knows when the output is not going directly to a terminal, and
|
||||||
to a terminal, and strips out all the color control characters. This is based
|
strips out all the color control characters. This is based on the assumption
|
||||||
on the assumption that the color control codes are not wanted in the file.
|
that the color control codes are not wanted in the file. Prevent this with the
|
||||||
Prevent this with the following entry in your .taskrc file:
|
following entry in your .taskrc file:
|
||||||
|
|
||||||
_forcecolor=on
|
_forcecolor=on
|
||||||
|
|
||||||
|
or by temporarily overriding the value on the command line:
|
||||||
|
|
||||||
|
task ... rc._forcecolor=on
|
||||||
|
|
||||||
|
There is an additional problem when using pagers such as 'less' and 'more', because
|
||||||
|
color control codes are stripped. When using less, these options will preserve
|
||||||
|
the color codes:
|
||||||
|
|
||||||
|
task ... | less -FrX
|
||||||
|
|
||||||
|
There have been problems reported with the Linux 'more' pager, which inserts
|
||||||
|
newline characters.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: How do I backup my taskwarrior data files? Where are they?
|
.B Q: How do I backup my taskwarrior data files? Where are they?
|
||||||
A: Taskwarrior writes all pending tasks to the file
|
Taskwarrior writes all data to files in this location:
|
||||||
|
|
||||||
~/.task/pending.data
|
~/.task/
|
||||||
|
|
||||||
and all completed and deleted tasks to
|
You may have overridden this location with the 'data.location' configuration
|
||||||
|
setting, in which case backup that instead. All files in this location should
|
||||||
|
be backed up. Making sure all the files in this location are backed up, and not
|
||||||
|
just a named subset will ensure that you properly backup future versions of
|
||||||
|
taskwarrior, which will likely introduce more files in this location.
|
||||||
|
|
||||||
~/.task/completed.data
|
Don't forget there is also the ~/.taskrc file that contains your taskwarrior
|
||||||
|
configuration data.
|
||||||
They are text files, so they can just be copied to another location for
|
|
||||||
safekeeping. Don't forget there is also the ~/.taskrc file that contains your
|
|
||||||
taskwarrior configuration data. To be sure, and to future-proof your backup,
|
|
||||||
consider backing up all the files in the ~/.task directory.
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: How can I separate my work tasks from my home tasks? Specifically, can I keep them completely separate?
|
.B Q: How can I separate my work tasks from my home tasks? Specifically, can I keep them completely separate?
|
||||||
A: You can do this by creating an alternate .taskrc file, then using shell
|
You can do this by creating an alternate .taskrc file, then using shell
|
||||||
aliases. Here are example Bash commands to achieve this:
|
aliases. Here are example Bash commands to achieve this:
|
||||||
|
|
||||||
% cp ~/.taskrc ~/.taskrc_home
|
% cp ~/.taskrc ~/.taskrc_home
|
||||||
% (now edit .taskrc_home to change the value of data.location)
|
% (now edit .taskrc_home to change the value of data.location)
|
||||||
% alias wtask="task"
|
% alias wtask="task"
|
||||||
% alias htask="task rc:~/.taskrc_home"
|
% alias htask="task rc:~/.taskrc_home"
|
||||||
|
|
||||||
This gives you two commands, 'wtask' and 'htask' that operate using two
|
This gives you two commands, 'wtask' and 'htask' that operate using two
|
||||||
different sets of task data files.
|
different sets of task data files. Bash shell functions are a good alternative.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: Can I revert to a previous version of taskwarrior? How?
|
.B Q: Can I revert to a previous version of taskwarrior? How?
|
||||||
A: Yes, you can revert to a previous version of task, simply by downloading an
|
Yes, you can revert to a previous version of task, simply by downloading an
|
||||||
older version and installing it. If you find a bug in task, then this may be the
|
older version and installing it. If you find a bug in task, then this may be the
|
||||||
only way to work around the bug, until a patch release is made.
|
only way to work around the bug, until a patch release is made.
|
||||||
|
|
||||||
@@ -62,44 +70,49 @@ of taskwarrior, there is the file format to consider. This is yet another good
|
|||||||
reason to back up your task data files!
|
reason to back up your task data files!
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: I'm using Ubuntu 9.04, and I want to word-wrap descriptions. How do I do this?
|
.B Q: Can I have two separate versions of taskwarrior installed? How?
|
||||||
A: You need to install ncurses, by doing this:
|
Yes, and here is one simple way to do that. Install the older version of
|
||||||
|
taskwarrior, and then rename the 'task' binary to something like 't194' to
|
||||||
|
reflect the version number. Then install the newer version, which will be
|
||||||
|
named 'task'. Now you have 't194' and 'task' both installed, both using the
|
||||||
|
same configuration and data.
|
||||||
|
|
||||||
% sudo apt-get install libncurses5-dev
|
Note that the older version will not be aware of any new configuration settings
|
||||||
|
and so will complain about them in the 'show' command. This can be ignored.
|
||||||
|
Likewise the newer version may complain about obsolete entries in the
|
||||||
|
configuration.
|
||||||
|
|
||||||
Then you need to rebuild taskwarrior from scratch, starting with
|
Note also that the man pages will overwrite, which is why it is suggested that
|
||||||
|
the older version be installed first, so that you benefit from improved
|
||||||
|
documentation.
|
||||||
|
|
||||||
% cd task-X.X.X
|
.TP
|
||||||
% ./configure
|
.B Q: How do I build a Darwin 32bit version of task
|
||||||
...
|
The taskwarrior packages will not work on a 32-bit OSX installation on Core
|
||||||
|
Duo hardware. You will need to build Taskwarrior from source, and use this
|
||||||
|
configure command:
|
||||||
|
|
||||||
The result should be a taskwarrior program that knows the width of the terminal
|
./configure "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"
|
||||||
window, and wraps accordingly.
|
|
||||||
|
|
||||||
Note that all the binary packages include this capability.
|
See: http://taskwarrior.org/issues/817
|
||||||
|
http://stackoverflow.com/questions/3261909/build-32bit-on-64-bit-linux-using-a-configure-script
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: How do I build taskwarrior under Cygwin?
|
.B Q: How do I build taskwarrior under Cygwin?
|
||||||
A: Take a look at the README.build file, where the latest information on build
|
Take a look at the README.build file, where the latest information on build
|
||||||
issues is kept. Taskwarrior is built the same way everywhere. But under Cygwin,
|
issues is kept. Taskwarrior is built the same way everywhere. But under Cygwin,
|
||||||
you'll need to make sure you have the following packages available first:
|
you'll need to make sure you have the following packages available first:
|
||||||
|
|
||||||
gcc
|
gcc
|
||||||
make
|
make
|
||||||
libncurses-devel
|
|
||||||
libncurses8
|
|
||||||
|
|
||||||
The gcc and make packages allow you to compile the code, and are therefore
|
The gcc and make packages allow you to compile the code, and are therefore
|
||||||
required, but the ncurses packages are optional. Ncurses will allow taskwarrior
|
required.
|
||||||
to determine the width of the window, and therefore use the whole width and wrap
|
|
||||||
text accordingly, for a more aesthetically pleasing display.
|
|
||||||
|
|
||||||
Note that there are binary packages that all include this capability.
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: Do colors work under Cygwin?
|
.B Q: Do colors work under Cygwin?
|
||||||
A: They do, but only in a limited way. You can use regular foreground colors
|
They do, but only in a limited way. You can use regular foreground colors
|
||||||
(black, red, green ...) and you can regular background colors (on_black, on_red,
|
(black, red, green ...) and regular background colors (on_black, on_red,
|
||||||
on_green ...), but underline and bold are not supported.
|
on_green ...), but underline and bold are not supported.
|
||||||
|
|
||||||
If you run the command:
|
If you run the command:
|
||||||
@@ -112,7 +125,7 @@ you can use.
|
|||||||
Note that if you install the 'mintty' shell in Cygwin, then you can use 256
|
Note that if you install the 'mintty' shell in Cygwin, then you can use 256
|
||||||
colors.
|
colors.
|
||||||
|
|
||||||
See the 'man task-color' for more details on which colors can be used.
|
See the 'man task-color' page for more details on which colors can be used.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: Where does taskwarrior store the data?
|
.B Q: Where does taskwarrior store the data?
|
||||||
@@ -132,24 +145,24 @@ for you, so it is probably best to leave those files alone.
|
|||||||
If you delete (or rename) your .taskrc file, taskwarrior will offer to create a
|
If you delete (or rename) your .taskrc file, taskwarrior will offer to create a
|
||||||
default one for you. Another way to do this is with the command:
|
default one for you. Another way to do this is with the command:
|
||||||
|
|
||||||
$ task rc:new-file version
|
task rc:new-file version
|
||||||
|
|
||||||
Taskwarrior will create 'new-file' if it doesn't already exist. There will not
|
Taskwarrior will create 'new-file' if it doesn't already exist. There will not
|
||||||
be much in it though - taskwarrior relies heavily on default values, which can
|
be much in it though - taskwarrior relies heavily on default values, which can
|
||||||
be seen with this command:
|
be seen with this command:
|
||||||
|
|
||||||
$ task show
|
task show
|
||||||
|
|
||||||
which lists all the currently known settings. If you have just created
|
This lists all the currently known settings. If you have just created a
|
||||||
new-file, then this command lists only the defaults.
|
new file, then this command lists only the defaults.
|
||||||
|
|
||||||
Note that this is a good way to learn about new configuration settings,
|
Note that this is a good way to learn about new configuration settings,
|
||||||
particularly if your .taskrc file was created by an older version.
|
particularly if your .taskrc file was created by an older version.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: Do I need to back up my taskwarrior data?
|
.B Q: Do I need to back up my taskwarrior data?
|
||||||
Yes. You should back up your ~/.task directory, and probably your ~/.taskrc
|
Yes you do, like all your other files. You should back up all the files in your
|
||||||
file too.
|
~/.task directory, and your ~/.taskrc file too.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: Can I share my tasks between different machines?
|
.B Q: Can I share my tasks between different machines?
|
||||||
@@ -161,8 +174,15 @@ folder, by modifying the:
|
|||||||
|
|
||||||
configuration variable. Check out DropBox at http://www.dropbox.com.
|
configuration variable. Check out DropBox at http://www.dropbox.com.
|
||||||
|
|
||||||
|
You might also want to share the same .taskrc file. You can do this by putting an alias in the .bashrc file along the lines of
|
||||||
|
|
||||||
|
alias task="task rc:/home/username/Dropbox/mysharedtaskrc"
|
||||||
|
|
||||||
|
An alternative to Dropbox is to use the push/pull/merge features built into Taskwarrior. See 'man task-sync' for details.
|
||||||
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: I don't like dropbox. Is there another way to synchronize my tasks?
|
.B Q: I don't want to use dropbox. Is there another way to synchronize my tasks?
|
||||||
Of course. Especially if you want to modify tasks offline on both machines and
|
Of course. Especially if you want to modify tasks offline on both machines and
|
||||||
synchronize them later on. For this purpose there is a 'merge' command which is
|
synchronize them later on. For this purpose there is a 'merge' command which is
|
||||||
is able to insert the modifications you made to one of your task databases into
|
is able to insert the modifications you made to one of your task databases into
|
||||||
@@ -170,8 +190,8 @@ a second database.
|
|||||||
|
|
||||||
Here is a basic example of the procedure:
|
Here is a basic example of the procedure:
|
||||||
|
|
||||||
$ task merge ssh://user@myremotehost/.task/
|
task merge ssh://user@myremotehost/.task/
|
||||||
$ task push ssh://user@myremotehost/.task/
|
task push ssh://user@myremotehost/.task/
|
||||||
|
|
||||||
The first command fetches the undo.data file from the remote system, reads the
|
The first command fetches the undo.data file from the remote system, reads the
|
||||||
changes made and updates the local database. When this merge command completes,
|
changes made and updates the local database. When this merge command completes,
|
||||||
@@ -185,16 +205,20 @@ You need it if you want the undo capability, or the merge capability mentioned
|
|||||||
above. But if it gets large, you can certainly truncate it to save space, just
|
above. But if it gets large, you can certainly truncate it to save space, just
|
||||||
be careful to delete lines from the top of the file, up to and including a
|
be careful to delete lines from the top of the file, up to and including a
|
||||||
separator '---'. The simplest way is to simply delete the undo.data file. Note
|
separator '---'. The simplest way is to simply delete the undo.data file. Note
|
||||||
that it does not slow down taskwarrior, because it is never read until you want
|
that it does not slow down taskwarrior in performance-sensitive areas, because
|
||||||
to undo. Otherwise taskwarrior only appends to the file.
|
it is typically not read until you want to undo, or report total active time in
|
||||||
|
the 'info' command. Taskwarrior generally only appends to the file.
|
||||||
|
|
||||||
|
It is not recommended that you delete the undo.data file, as it limits
|
||||||
|
functionality.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: How do I know whether my terminal support 256 colors?
|
.B Q: How do I know whether my terminal supports 256 colors?
|
||||||
You will need to make sure your TERM environment variable is set to xterm-color,
|
You will need to make sure your TERM environment variable is set to xterm-color,
|
||||||
otherwise the easiest way is to just try it! With version 1.9 or later, you
|
otherwise the easiest way is to just try it! With version 1.9 or later, you
|
||||||
simply run
|
simply run
|
||||||
|
|
||||||
$ task color
|
task color
|
||||||
|
|
||||||
and a full color palette is displayed. If you see only 8 or 16 colors, perhaps
|
and a full color palette is displayed. If you see only 8 or 16 colors, perhaps
|
||||||
with those colors repeated, then your terminal does not support 256 colors.
|
with those colors repeated, then your terminal does not support 256 colors.
|
||||||
@@ -210,22 +234,9 @@ See the task-color(5) man page for an in-depth explanation of the color rules.
|
|||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: How can I make taskwarrior put the command in the terminal window title?
|
.B Q: How can I make taskwarrior put the command in the terminal window title?
|
||||||
You cannot. But you can make the shell do it, and you can make the shell
|
Just set the following value in your .taskrc file:
|
||||||
call the task program. Here is a Bash script that does this:
|
|
||||||
|
|
||||||
#! /bin/bash
|
xterm.title=on
|
||||||
|
|
||||||
printf "\\033]0;task $*\a"
|
|
||||||
/usr/local/bin/task $*
|
|
||||||
|
|
||||||
You just need to run the script, and let the script run task. Here is a Bash
|
|
||||||
function that does the same thing:
|
|
||||||
|
|
||||||
t ()
|
|
||||||
{
|
|
||||||
printf "\\033]0;task $*\a"
|
|
||||||
/usr/local/bin/task $*
|
|
||||||
}
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: Taskwarrior searches in a case-sensitive fashion - can I change that?
|
.B Q: Taskwarrior searches in a case-sensitive fashion - can I change that?
|
||||||
@@ -235,13 +246,13 @@ You can. Just set the following value in your .taskrc file:
|
|||||||
|
|
||||||
This will affect searching for keywords:
|
This will affect searching for keywords:
|
||||||
|
|
||||||
$ task list Document
|
task Document list
|
||||||
|
|
||||||
taskwarrior will perform a caseless search in the description and any
|
taskwarrior will perform a caseless search in the description and any
|
||||||
annotations for the keyword 'Document'. It also affects description and
|
annotations for the keyword 'Document'. It also affects description and
|
||||||
annotation substitutions:
|
annotation substitutions:
|
||||||
|
|
||||||
$ task 1 /teh/the/
|
task 1 modify /teh/the/
|
||||||
|
|
||||||
The pattern on the left will now be a caseless search term.
|
The pattern on the left will now be a caseless search term.
|
||||||
|
|
||||||
@@ -256,10 +267,10 @@ incorrectly, because there are more digits.
|
|||||||
When you run a report (such as "list"), the numbers are assigned before display.
|
When you run a report (such as "list"), the numbers are assigned before display.
|
||||||
For example, you can do this:
|
For example, you can do this:
|
||||||
|
|
||||||
$ task list
|
task list
|
||||||
$ task do 12
|
task 12 done
|
||||||
$ task add Pay the rent
|
task add Pay the rent
|
||||||
$ task delete 31
|
task 31 delete
|
||||||
|
|
||||||
Those id numbers are then good until the next report is run. This is because
|
Those id numbers are then good until the next report is run. This is because
|
||||||
taskwarrior performs a garbage-collect operation on the pending tasks file when
|
taskwarrior performs a garbage-collect operation on the pending tasks file when
|
||||||
@@ -272,16 +283,21 @@ efficiency.
|
|||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: How do I list tasks that are either priority 'H' or 'M', but not 'L'?
|
.B Q: How do I list tasks that are either priority 'H' or 'M', but not 'L'?
|
||||||
Taskwarriors filters are all combined with and implicit logical AND operator, so
|
Taskwarrior's filters are all by default combined with an implicit logical AND
|
||||||
if you were to try this:
|
operator, so if you were to try this:
|
||||||
|
|
||||||
$ task list priority:H priority:M
|
task priority:H priority:M list
|
||||||
|
|
||||||
There would be no results, because the priority could not simultaneously be 'H'
|
There would be no results, because the priority could not simultaneously be 'H'
|
||||||
AND 'M'. What is required is some way to use OR instead of an AND operator. The
|
AND 'M'. Instead, you have a choice. You can do this:
|
||||||
solution is to invert the filter in this way:
|
|
||||||
|
|
||||||
$ task list priority.not:L priority.any:
|
task '(priority:H or priority:M)' list
|
||||||
|
|
||||||
|
Note that the quotes are one way of escaping the ( ) characters that are
|
||||||
|
otherwise interpreted by the shell before taskwarrior sees them. You can also
|
||||||
|
do this:
|
||||||
|
|
||||||
|
task priority.not:L priority.any: list
|
||||||
|
|
||||||
This filter states that the priority must not be 'L', AND there must be a
|
This filter states that the priority must not be 'L', AND there must be a
|
||||||
priority assigned. This filter then properly lists tasks that are 'H' or 'M',
|
priority assigned. This filter then properly lists tasks that are 'H' or 'M',
|
||||||
@@ -297,24 +313,33 @@ to construct task filters.
|
|||||||
Taskwarrior now has a 'denotate' command to remove annotations. Here is an
|
Taskwarrior now has a 'denotate' command to remove annotations. Here is an
|
||||||
example:
|
example:
|
||||||
|
|
||||||
$ task add Original task
|
task add Original task
|
||||||
$ task 1 annotate foo
|
task 1 annotate foo
|
||||||
$ task 1 annotate bar
|
task 1 annotate bar
|
||||||
$ task 1 annotate foo bar
|
task 1 annotate foo bar
|
||||||
|
|
||||||
Now to delete the first annotation, use:
|
Now to delete the first annotation, use:
|
||||||
|
|
||||||
$ task 1 denotate foo
|
task 1 denotate foo
|
||||||
|
|
||||||
This takes the fragment 'foo' and compares it to each of the annotations. In
|
This takes the fragment 'foo' and compares it to each of the annotations. In
|
||||||
this example, it will remove the first annotation, not the third, because it is
|
this example, it will remove the first annotation, not the third, because it is
|
||||||
an exact match. If there are no exact matches, it will remove the first
|
an exact match. If there are no exact matches, it will remove the first
|
||||||
non-exact match:
|
non-exact match:
|
||||||
|
|
||||||
$ task 1 denotate ar
|
task 1 denotate ar
|
||||||
|
|
||||||
This will remove the second annotation - the first non-exact match.
|
This will remove the second annotation - the first non-exact match.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B Q: How do I show tasks completed on a certain day?
|
||||||
|
The day in question has to be boxed by a range, like this:
|
||||||
|
|
||||||
|
task end.after:3/29/2013 end.before:3/30/2013 completed
|
||||||
|
|
||||||
|
Note that a single date, such as 3/29/2013 does not refer to a whole day, but
|
||||||
|
to a single point in time, 3/20/2013 0:00:00.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: How can I help?
|
.B Q: How can I help?
|
||||||
There are lots of ways. Here are some:
|
There are lots of ways. Here are some:
|
||||||
@@ -326,17 +351,14 @@ There are lots of ways. Here are some:
|
|||||||
- Contribute to our Wiki
|
- Contribute to our Wiki
|
||||||
- Suggest features
|
- Suggest features
|
||||||
- Write unit tests
|
- Write unit tests
|
||||||
|
- Write add-on scripts, and share them
|
||||||
- Fix bugs
|
- Fix bugs
|
||||||
|
|
||||||
.SH "CREDITS & COPYRIGHTS"
|
.SH "CREDITS & COPYRIGHTS"
|
||||||
Taskwarrior was written by P. Beckingham <paul@beckingham.net>.
|
Copyright (C) 2006 \- 2013 P. Beckingham, F. Hernandez.
|
||||||
.br
|
|
||||||
Copyright (C) 2006 \- 2010 P. Beckingham
|
|
||||||
|
|
||||||
This man page was originally written by P. Beckingham.
|
Taskwarrior is distributed under the MIT license. See
|
||||||
|
http://www.opensource.org/licenses/mit-license.php for more information.
|
||||||
Taskwarrior is distributed under the GNU General Public License. See
|
|
||||||
http://www.gnu.org/licenses/gpl-2.0.txt for more information.
|
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR task(1),
|
.BR task(1),
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
.TH task-sync 5 2010-10-07 "task 1.9.3" "User Manuals"
|
.TH task-sync 5 2013-04-07 "${PACKAGE_STRING}" "User Manuals"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
task-sync \- A tutorial for the task(1) data synchronization capabilities.
|
task-sync \- A tutorial for the task(1) data synchronization capabilities.
|
||||||
@@ -109,17 +109,46 @@ All the other URIs allow access to remote machines. The first uses SSH and scp
|
|||||||
|
|
||||||
.br
|
.br
|
||||||
.RS
|
.RS
|
||||||
ssh://[user@]host[:port]:path/to/undo.data
|
ssh://[user@]host[:port]/absolute/path/to/.task/
|
||||||
.br
|
.br
|
||||||
[user@]host[:port]:/path/
|
[user@]host:/absolute/path/to/.task/
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
In both cases paths are considered to be absolute. You can specify paths relative to the
|
||||||
|
users home directory as follows:
|
||||||
|
|
||||||
|
.br
|
||||||
|
.RS
|
||||||
|
ssh://[user@]host[:port]/.task/
|
||||||
|
.br
|
||||||
|
[user@]host:.task/
|
||||||
|
.RE
|
||||||
|
|
||||||
|
or even shorter
|
||||||
|
|
||||||
|
.br
|
||||||
|
.RS
|
||||||
|
[user@]host:.task/
|
||||||
|
.RE
|
||||||
|
|
||||||
|
Remark: Since taskwarrior simply calls the scp binary you can specify very much anything
|
||||||
|
that scp would accept, e.g. host configurations from ~/.ssh/config or ~username
|
||||||
|
expansion:
|
||||||
|
|
||||||
|
.br
|
||||||
|
.RS
|
||||||
|
ssh://configured-host/~[username]/.task/
|
||||||
|
.br
|
||||||
|
configured-host:~[username]/.task/
|
||||||
|
.RE
|
||||||
|
|
||||||
|
|
||||||
Rsync is another supported protocol that minimizes network traffic, by a clever
|
Rsync is another supported protocol that minimizes network traffic, by a clever
|
||||||
algorithm that doesn't copy files that have not changed:
|
algorithm that doesn't copy files that have not changed:
|
||||||
|
|
||||||
.br
|
.br
|
||||||
.RS
|
.RS
|
||||||
rsync://[user@]host.xz[:port]/path/to/undo.data
|
rsync://[user@]host.xz[:port]/path/to/.task/
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
Curl supports several protocols that can transfer data using HTTP, HTTPS and
|
Curl supports several protocols that can transfer data using HTTP, HTTPS and
|
||||||
@@ -127,11 +156,26 @@ FTP:
|
|||||||
|
|
||||||
.br
|
.br
|
||||||
.RS
|
.RS
|
||||||
http://host[:port]/path/to/undo.data
|
http://host[:port]/path/to/.task/
|
||||||
.br
|
.br
|
||||||
https://host[:port]/path/to/undo.data
|
https://host[:port]/path/to/.task/
|
||||||
.br
|
.br
|
||||||
ftp://user@host[:port]/path/to/undo.data
|
ftp://[user@]host[:port]/path/to/.task/
|
||||||
|
.RE
|
||||||
|
|
||||||
|
You can use single quotes to encapsulate user names that contain delimiting
|
||||||
|
characters like '@', '/' or ':', e.g.:
|
||||||
|
|
||||||
|
.br
|
||||||
|
.RS
|
||||||
|
ssh://'user@name'@host/
|
||||||
|
.RE
|
||||||
|
|
||||||
|
Remember to escape the quotes on your shell:
|
||||||
|
|
||||||
|
.br
|
||||||
|
.RS
|
||||||
|
$ task push ftp://\'user@name\':host/
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.SH CONFLICTS
|
.SH CONFLICTS
|
||||||
@@ -308,15 +352,13 @@ unable to merge. The change transactions stored in the undo.data file are
|
|||||||
used for synchronization.
|
used for synchronization.
|
||||||
|
|
||||||
.SH "CREDITS & COPYRIGHTS"
|
.SH "CREDITS & COPYRIGHTS"
|
||||||
task was written by P. Beckingham <paul@beckingham.net>.
|
Copyright (C) 2006 \- 2013 P. Beckingham, F. Hernandez.
|
||||||
.br
|
|
||||||
Copyright (C) 2006 \- 2010 P. Beckingham, F. Hernandez.
|
|
||||||
|
|
||||||
The sync capabilities were written by J. Schlatow.
|
The sync capabilities were written by J. Schlatow.
|
||||||
Parts copyright (C) 2010 J. Schlatow.
|
Parts copyright (C) 2010 - 2013 J. Schlatow.
|
||||||
|
|
||||||
task is distributed under the GNU General Public License. See
|
Taskwarrior is distributed under the MIT license. See
|
||||||
http://www.gnu.org/licenses/gpl-2.0.txt for more information.
|
http://www.opensource.org/licenses/mit-license.php for more information.
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR task(1),
|
.BR task(1),
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
.TH task-tutorial 5 2010-10-07 "task 1.9.3" "User Manuals"
|
.TH task-tutorial 5 2013-04-07 "${PACKAGE_STRING}" "User Manuals"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
task-tutorial \- A tutorial for the task(1) command line todo manager.
|
task-tutorial \- A tutorial for the task(1) command line todo manager.
|
||||||
@@ -161,7 +161,7 @@ by the 'g' at the end. You could omit the 'g', and it would only make the first
|
|||||||
substitution.
|
substitution.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 7 /teh/the/g
|
$ task 7 modify /teh/the/g
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.br
|
.br
|
||||||
@@ -197,7 +197,7 @@ Let's assign that last task to the 'home' project. Note that a task may only
|
|||||||
belong to one project.
|
belong to one project.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 7 project:home
|
$ task 7 modify project:home
|
||||||
.br
|
.br
|
||||||
The scope of project 'home' has changed. Project 'home' is 0% complete (1 of 1 tasks remaining).
|
The scope of project 'home' has changed. Project 'home' is 0% complete (1 of 1 tasks remaining).
|
||||||
.br
|
.br
|
||||||
@@ -209,11 +209,11 @@ specify a range of tasks? Taskwarrior will want to confirm bulk changes like
|
|||||||
this, but we'll accept all changes here.
|
this, but we'll accept all changes here.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 1-6 project:party
|
$ task 1-6 modify project:party
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
Task 1 "Select a free weekend in November"
|
Task 1 modify "Select a free weekend in November"
|
||||||
.br
|
.br
|
||||||
- project will be set to 'party'.
|
- project will be set to 'party'.
|
||||||
.br
|
.br
|
||||||
@@ -258,7 +258,7 @@ party 6 6 0 0 0
|
|||||||
.br
|
.br
|
||||||
2 projects (7 tasks)
|
2 projects (7 tasks)
|
||||||
.br
|
.br
|
||||||
$ task list project:home
|
$ task project:home list
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -272,7 +272,7 @@ ID Project Pri Due Active Age Description
|
|||||||
.br
|
.br
|
||||||
1 task
|
1 task
|
||||||
.br
|
.br
|
||||||
$ task li pro:par
|
$ task pro:par li
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -302,11 +302,11 @@ Priorities are another way to organize tasks. You can use priority values of
|
|||||||
high, medium and low, and taskwarrior knows these as H, M or L.
|
high, medium and low, and taskwarrior knows these as H, M or L.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 1-3,5 priority:H
|
$ task 1-3,5 modify priority:H
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
Task 1 "Select a free weekend in November"
|
Task 1 modify "Select a free weekend in November"
|
||||||
.br
|
.br
|
||||||
- priority will be set to 'H'.
|
- priority will be set to 'H'.
|
||||||
.br
|
.br
|
||||||
@@ -348,7 +348,7 @@ ID Project Pri Due Active Age Description
|
|||||||
You can remove priorities by specifying a blank value.
|
You can remove priorities by specifying a blank value.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 3 pri:
|
$ task 3 modify pri:
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.RE
|
.RE
|
||||||
@@ -359,11 +359,11 @@ just single words associated with the task. I can go to the print shop at the
|
|||||||
mall, and do all the invitation tasks, so let's tag them all.
|
mall, and do all the invitation tasks, so let's tag them all.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 3,5,6 +mall
|
$ task 3,5,6 modify +mall
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
Task 3 "Mail invitations"
|
Task 3 modify "Mail invitations"
|
||||||
.br
|
.br
|
||||||
- tags will be set to 'mall'.
|
- tags will be set to 'mall'.
|
||||||
.br
|
.br
|
||||||
@@ -407,7 +407,7 @@ ID Project Pri Added Started Due Recur Countdown Age Deps Tags Descript
|
|||||||
and I can use tags as a filter to any report too.
|
and I can use tags as a filter to any report too.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task list +mall
|
$ task +mall list
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -430,7 +430,7 @@ I made a mistake - I can't mail out the invitations at the mall, so let's remove
|
|||||||
that tag.
|
that tag.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 3 -mall
|
$ task 3 modify -mall
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.RE
|
.RE
|
||||||
@@ -441,7 +441,7 @@ and a new description. This is also considered a bulk change, and so requires
|
|||||||
confirmation.
|
confirmation.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 7 Pay rent at the end of the month
|
$ task 7 modify Pay rent at the end of the month
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -465,7 +465,7 @@ $ task 8 prepend Select some
|
|||||||
.br
|
.br
|
||||||
$ task 8 append for after dinner
|
$ task 8 append for after dinner
|
||||||
.br
|
.br
|
||||||
$ task list dinner
|
$ task dinner list
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -595,7 +595,7 @@ Modified task reverted.
|
|||||||
|
|
||||||
.SH INFO
|
.SH INFO
|
||||||
During that undo operation, taskwarrior displayed metadata that is associated
|
During that undo operation, taskwarrior displayed metadata that is associated
|
||||||
with the task. You can display this with the info command, and its shortcut.
|
with the task. You can display this with the info command.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 1 info
|
$ task 1 info
|
||||||
@@ -621,30 +621,6 @@ UUID 3a6881bb-628b-4f90-93d7-4da563b83d54
|
|||||||
Entered 10/16/2010 (44 mins)
|
Entered 10/16/2010 (44 mins)
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
|
||||||
$ task 1
|
|
||||||
.br
|
|
||||||
|
|
||||||
.br
|
|
||||||
Name Value
|
|
||||||
.br
|
|
||||||
----------- ------------------------------------
|
|
||||||
.br
|
|
||||||
ID 1
|
|
||||||
.br
|
|
||||||
Description Select a free weekend in November
|
|
||||||
.br
|
|
||||||
Status Pending
|
|
||||||
.br
|
|
||||||
Project party
|
|
||||||
.br
|
|
||||||
Priority H
|
|
||||||
.br
|
|
||||||
UUID 3a6881bb-628b-4f90-93d7-4da563b83d54
|
|
||||||
.br
|
|
||||||
Entered 10/16/2010 (44 mins)
|
|
||||||
.RE
|
|
||||||
|
|
||||||
There are also statistics that taskwarrior gathers, which I can display.
|
There are also statistics that taskwarrior gathers, which I can display.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
@@ -705,6 +681,7 @@ $ task 1 annotate the 13th looks good
|
|||||||
Annotated 1 with 'the 13th looks good'.
|
Annotated 1 with 'the 13th looks good'.
|
||||||
.br
|
.br
|
||||||
$ task 1 annotate or the 14th
|
$ task 1 annotate or the 14th
|
||||||
|
.br
|
||||||
Annotated 1 with 'or the 14th'
|
Annotated 1 with 'or the 14th'
|
||||||
.br
|
.br
|
||||||
$ task list
|
$ task list
|
||||||
@@ -740,64 +717,6 @@ ID Project Pri Due Active Age Description
|
|||||||
8 tasks
|
8 tasks
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
You can choose to display annotations in different ways.
|
|
||||||
|
|
||||||
.RS
|
|
||||||
$ task list rc.annotations:full
|
|
||||||
.br
|
|
||||||
|
|
||||||
.br
|
|
||||||
ID Project Pri Due Active Age Description
|
|
||||||
.br
|
|
||||||
-- ------- --- --- ------ ------- ---------------------------------
|
|
||||||
.br
|
|
||||||
1 party H 49 mins Select a free weekend in November
|
|
||||||
.br
|
|
||||||
10/16/2010 the 13th looks good
|
|
||||||
.br
|
|
||||||
10/16/2010 or the 14th
|
|
||||||
.br
|
|
||||||
|
|
||||||
.br
|
|
||||||
1 task
|
|
||||||
.br
|
|
||||||
Configuration override annotations:full
|
|
||||||
.br
|
|
||||||
$ task list rc.annotations:sparse
|
|
||||||
.br
|
|
||||||
|
|
||||||
.br
|
|
||||||
ID Project Pri Due Active Age Description
|
|
||||||
.br
|
|
||||||
-- ------- --- --- ------ ------- ----------------------------------
|
|
||||||
.br
|
|
||||||
1 party H 49 mins +Select a free weekend in November
|
|
||||||
.br
|
|
||||||
10/16/2010 or the 14th
|
|
||||||
.br
|
|
||||||
|
|
||||||
.br
|
|
||||||
1 task
|
|
||||||
.br
|
|
||||||
Configuration override annotations:sparse
|
|
||||||
.br
|
|
||||||
$ task list rc.annotations:none
|
|
||||||
.br
|
|
||||||
|
|
||||||
.br
|
|
||||||
ID Project Pri Due Active Age Description
|
|
||||||
.br
|
|
||||||
-- ------- --- --- ------ ------- ----------------------------------
|
|
||||||
.br
|
|
||||||
1 party H 49 mins +Select a free weekend in November
|
|
||||||
.br
|
|
||||||
|
|
||||||
.br
|
|
||||||
1 task
|
|
||||||
.br
|
|
||||||
Configuration override annotations:none
|
|
||||||
.RE
|
|
||||||
|
|
||||||
Annotations can be removed by providing a matching pattern.
|
Annotations can be removed by providing a matching pattern.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
@@ -833,8 +752,6 @@ alias.ghistory ghistory.monthly
|
|||||||
alias.history history.monthly
|
alias.history history.monthly
|
||||||
.br
|
.br
|
||||||
alias.rm delete
|
alias.rm delete
|
||||||
.br
|
|
||||||
annotations full
|
|
||||||
.br
|
.br
|
||||||
...
|
...
|
||||||
.br
|
.br
|
||||||
@@ -994,7 +911,7 @@ $ task add New task
|
|||||||
.br
|
.br
|
||||||
Created task 9.
|
Created task 9.
|
||||||
.br
|
.br
|
||||||
$ task list New task
|
$ task New task list
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -1179,49 +1096,6 @@ ID Project Pri Due Active Age Description
|
|||||||
What you see is the result of a set of color rules being applied to the tasks.
|
What you see is the result of a set of color rules being applied to the tasks.
|
||||||
There is a hierarchy of color rules that colorize a task based on the metadata.
|
There is a hierarchy of color rules that colorize a task based on the metadata.
|
||||||
|
|
||||||
Here is an example of an explicit override to the color rules where a specific
|
|
||||||
task is given a red background.
|
|
||||||
|
|
||||||
.RS
|
|
||||||
$ task 1 bg:on_red
|
|
||||||
.br
|
|
||||||
modified 1 task.
|
|
||||||
.br
|
|
||||||
$ task list
|
|
||||||
.br
|
|
||||||
|
|
||||||
.br
|
|
||||||
ID Project Pri Due Active Age Description
|
|
||||||
.br
|
|
||||||
-- ------- --- --- ------ ------- ----------------------------------
|
|
||||||
.br
|
|
||||||
1 party H 1 hr Select a free weekend in November
|
|
||||||
.br
|
|
||||||
10/16/2010 the 13th looks good
|
|
||||||
.br
|
|
||||||
2 party H 1 hr Select and book a venue
|
|
||||||
.br
|
|
||||||
5 party H 59 mins Design invitations
|
|
||||||
.br
|
|
||||||
8 33 mins Select some Music for after dinner
|
|
||||||
.br
|
|
||||||
7 home 50 mins Pay rent at the end of the month
|
|
||||||
.br
|
|
||||||
3 party 1 hr Mail invitations
|
|
||||||
.br
|
|
||||||
4 party 1 hr Select a caterer
|
|
||||||
.br
|
|
||||||
6 party 59 mins Print invitations
|
|
||||||
.br
|
|
||||||
|
|
||||||
.br
|
|
||||||
8 tasks
|
|
||||||
.br
|
|
||||||
$ task 1 bg:
|
|
||||||
.br
|
|
||||||
Modified 1 task.
|
|
||||||
.RE
|
|
||||||
|
|
||||||
Taskwarrior supports 256 colors on certain terminal emulators, and this shows
|
Taskwarrior supports 256 colors on certain terminal emulators, and this shows
|
||||||
the range of colors available. Note that your terminal may show fewer colors.
|
the range of colors available. Note that your terminal may show fewer colors.
|
||||||
|
|
||||||
@@ -1366,6 +1240,8 @@ color.due red
|
|||||||
.br
|
.br
|
||||||
color.due.today red
|
color.due.today red
|
||||||
.br
|
.br
|
||||||
|
color.error yellow
|
||||||
|
.br
|
||||||
color.footnote yellow
|
color.footnote yellow
|
||||||
.br
|
.br
|
||||||
color.header yellow
|
color.header yellow
|
||||||
@@ -1494,7 +1370,7 @@ $ task 2 start
|
|||||||
.br
|
.br
|
||||||
Started 2 'Select and book a venue'.
|
Started 2 'Select and book a venue'.
|
||||||
.br
|
.br
|
||||||
$ task list venue
|
$ task venue list
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -1514,7 +1390,7 @@ $ task 2 stop
|
|||||||
.br
|
.br
|
||||||
Stopped 2 'Select and book a venue'.
|
Stopped 2 'Select and book a venue'.
|
||||||
.br
|
.br
|
||||||
$ task list venue
|
$ task venue list
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -1538,31 +1414,31 @@ Due dates can be specified as dates, durations into the future or past,
|
|||||||
mnemonic, ordinal or day of week.
|
mnemonic, ordinal or day of week.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 1 due:7/31/2010
|
$ task 1 modify due:7/31/2010
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.br
|
.br
|
||||||
$ task 1 due:2wks
|
$ task 1 modify due:2wks
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.br
|
.br
|
||||||
$ task 1 due:-2wks
|
$ task 1 modify due:-2wks
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.br
|
.br
|
||||||
$ task 1 due:eom
|
$ task 1 modify due:eom
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.br
|
.br
|
||||||
$ task 2 due:8th
|
$ task 2 modify due:8th
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.br
|
.br
|
||||||
$ task 2 due:sunday
|
$ task 2 modify due:sunday
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.br
|
.br
|
||||||
$ task 5 due:eow
|
$ task 5 modify due:eow
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.RE
|
.RE
|
||||||
@@ -1621,7 +1497,7 @@ used most. You can create your own, or use one of the samples to show holidays
|
|||||||
on the calendar. Try adding this line to your ~/.taskrc file:
|
on the calendar. Try adding this line to your ~/.taskrc file:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
include /usr/local/share/doc/task/rc/holidays-US.rc
|
include /usr/local/share/doc/task/rc/holidays.en-US.rc
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
Then:
|
Then:
|
||||||
@@ -1654,7 +1530,8 @@ $ task calendar
|
|||||||
Legend: today, due, due-today, overdue, weekend, holiday, weeknumber.
|
Legend: today, due, due-today, overdue, weekend, holiday, weeknumber.
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
There are holiday files for CA, DE, ES, FR, NL, SE, UK and US.
|
There are holiday files for be-BY, cs-CZ, da-DK, de-AT, de-DE, en-CA, en-GB,
|
||||||
|
en-NZ, en-US, es-ES, fr-FR, it-IT, nb-NO, nl-NL and sv-SE locales.
|
||||||
|
|
||||||
You can see the whole year, see due tasks as well, and see the holidays:
|
You can see the whole year, see due tasks as well, and see the holidays:
|
||||||
|
|
||||||
@@ -1840,13 +1717,13 @@ every month. Recurring tasks allow us to set up a single task that keeps coming
|
|||||||
back, just as you'd expect.
|
back, just as you'd expect.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 7 due:eom recur:monthly
|
$ task 7 modify due:eom recur:monthly
|
||||||
.br
|
.br
|
||||||
Task 7 is now a recurring task.
|
Task 7 is now a recurring task.
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.br
|
.br
|
||||||
$ task 7
|
$ task 7 info
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -1877,7 +1754,7 @@ You can also limit the extent of the recurrence. Let's make sure the task
|
|||||||
doesn't recur after the lease ends.
|
doesn't recur after the lease ends.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 7 until:eoy
|
$ task 7 modify until:eoy
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.RE
|
.RE
|
||||||
@@ -1985,7 +1862,7 @@ need to prefix every command with "task".
|
|||||||
.RS
|
.RS
|
||||||
$ task shell
|
$ task shell
|
||||||
.br
|
.br
|
||||||
task 1.9.3 shell
|
task 1.9.4 shell
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -2072,7 +1949,7 @@ individual tasks. The 'nocolor' special tag causes the color rules to be
|
|||||||
bypassed.
|
bypassed.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 6 +nocolor
|
$ task 6 modify +nocolor
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.RE
|
.RE
|
||||||
@@ -2101,7 +1978,7 @@ There are others - the 'nonag' special tag prevents the generation of nag
|
|||||||
messages when you work on low priority tasks when there are more important ones.
|
messages when you work on low priority tasks when there are more important ones.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 6 -nocolor
|
$ task 6 modify -nocolor
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.RE
|
.RE
|
||||||
@@ -2124,7 +2001,7 @@ and visible using the 'waiting' report. When the wait date comes, the task
|
|||||||
will just reappear in the list.
|
will just reappear in the list.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 10 wait:12/1/2010
|
$ task 10 modify wait:12/1/2010
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.br
|
.br
|
||||||
@@ -2185,7 +2062,7 @@ $ task add Do something in a few seconds
|
|||||||
.br
|
.br
|
||||||
Created task 11.
|
Created task 11.
|
||||||
.br
|
.br
|
||||||
$ task 11 wait:5s
|
$ task 11 modify wait:5s
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.br
|
.br
|
||||||
@@ -2277,7 +2154,7 @@ Taskwarrior supports dependencies. Let's take a look at the party planning
|
|||||||
tasks, and assign dependencies.
|
tasks, and assign dependencies.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task list pro:party
|
$ task pro:party list
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -2311,7 +2188,7 @@ ID Project Pri Due Active Age Description
|
|||||||
Let's see. I can't mail invitations until they are printed.
|
Let's see. I can't mail invitations until they are printed.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 3 depends:6
|
$ task 3 modify depends:6
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.RE
|
.RE
|
||||||
@@ -2319,7 +2196,7 @@ Modified 1 task.
|
|||||||
I can't print them until I design them.
|
I can't print them until I design them.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 6 dep:5
|
$ task 6 modify dep:5
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.RE
|
.RE
|
||||||
@@ -2327,7 +2204,7 @@ Modified 1 task.
|
|||||||
I need to select a weekend before a location.
|
I need to select a weekend before a location.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 2 dep:1
|
$ task 2 modify dep:1
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.RE
|
.RE
|
||||||
@@ -2335,7 +2212,7 @@ Modified 1 task.
|
|||||||
Design depends on location and weekend.
|
Design depends on location and weekend.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 5 dep:1,2
|
$ task 5 modify dep:1,2
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.RE
|
.RE
|
||||||
@@ -2343,7 +2220,7 @@ Modified 1 task.
|
|||||||
And the caterer needs to know where.
|
And the caterer needs to know where.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 4 dep:1
|
$ task 4 modify dep:1
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.RE
|
.RE
|
||||||
@@ -2351,7 +2228,7 @@ Modified 1 task.
|
|||||||
Let's take a look. All my tasks are blocked except task 1. That makes sense.
|
Let's take a look. All my tasks are blocked except task 1. That makes sense.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task long pro:party
|
$ task pro:party long
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -2385,7 +2262,7 @@ ID Project Pri Added Started Due Recur Countdown Age Deps Tags Des
|
|||||||
Hmm, that double dependency isn't right.
|
Hmm, that double dependency isn't right.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 5 dep:-1
|
$ task 5 modify dep:-1
|
||||||
.br
|
.br
|
||||||
Modified 1 task.
|
Modified 1 task.
|
||||||
.RE
|
.RE
|
||||||
@@ -3098,7 +2975,7 @@ Now again, but with the text 'invit', which acts as a filter on the description
|
|||||||
field.
|
field.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task list invit
|
$ task invit list
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -3122,7 +2999,7 @@ filtering on descriptions that contain the word fragment. Here we are using
|
|||||||
the 'contains' modifier, but there are many others.
|
the 'contains' modifier, but there are many others.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task list description.contains:invit
|
$ task description.contains:invit list
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -3145,7 +3022,7 @@ All tasks containing the whole word 'the'. See how annotations are also
|
|||||||
searched?
|
searched?
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task list desc.word:the
|
$ task desc.word:the list
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -3167,7 +3044,7 @@ ID Project Pri Due Active Age Description
|
|||||||
Here is a list of all tasks that do not contain the whole word 'invitations'.
|
Here is a list of all tasks that do not contain the whole word 'invitations'.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task list desc.noword:invitations
|
$ task desc.noword:invitations list
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -3196,18 +3073,18 @@ there are several synonyms for modifiers, so that the filter can be written so
|
|||||||
that it reads naturally.
|
that it reads naturally.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task list pro:party
|
$ task pro:party list
|
||||||
.br
|
.br
|
||||||
$ task list pro.is:party
|
$ task pro.is:party list
|
||||||
.br
|
.br
|
||||||
$ task list pro.not:party
|
$ task pro.not:party list
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
Here the 'over' modifier is filtering on priorities that sort higher than 'Low',
|
Here the 'over' modifier is filtering on priorities that sort higher than 'Low',
|
||||||
and also filtering on the 'party' project. There are two terms in this filter.
|
and also filtering on the 'party' project. There are two terms in this filter.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task list pro:party pri.over:L
|
$ task pro:party pri.over:L list
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -3231,7 +3108,7 @@ the first page of tasks. I don't have a page full of tasks here, but you get
|
|||||||
the idea.
|
the idea.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task list pro:party limit:2
|
$ task pro:party limit:2 list
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -3249,7 +3126,7 @@ ID Project Pri Due Active Age Description
|
|||||||
.br
|
.br
|
||||||
2 tasks, 2 shown
|
2 tasks, 2 shown
|
||||||
.br
|
.br
|
||||||
$ task list limit:page
|
$ task limit:page list
|
||||||
.br
|
.br
|
||||||
|
|
||||||
.br
|
.br
|
||||||
@@ -3272,200 +3149,17 @@ Now you can see how some of the built-in reports work. The 'list' report is
|
|||||||
just all tasks, filtered so that only the pending tasks are shown.
|
just all tasks, filtered so that only the pending tasks are shown.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task all status:pending
|
$ task status:pending all
|
||||||
...
|
...
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
The 'waiting' report is similarly defined.
|
The 'waiting' report is similarly defined.
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task all status:waiting
|
$ task status:waiting all
|
||||||
...
|
...
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.SH IMPORT/EXPORT
|
|
||||||
You can export your tasks. Here you see all tasks being exported in CSV format.
|
|
||||||
|
|
||||||
.RS
|
|
||||||
$ task export.csv
|
|
||||||
.br
|
|
||||||
\'uuid','status','tags','entry','start','due','recur','end','project','priority','fg','bg','description'
|
|
||||||
.br
|
|
||||||
\'3a6881bb-628b-4f90-93d7-4da563b83d54','pending','',1287237300,,1288497600,,,'party','H',,,'Select a free weekend in November'
|
|
||||||
.br
|
|
||||||
\'4a1de9aa-9b00-41ec-8d00-e0d0131e0e0d','pending','',1287237365,,,,,'party',,,,'Mail invitations'
|
|
||||||
.br
|
|
||||||
\'2a65e922-ff18-4db1-b867-dbe745b9626a','pending','',1287237372,,,,,'party',,,,'Select a caterer'
|
|
||||||
.br
|
|
||||||
...
|
|
||||||
.RE
|
|
||||||
|
|
||||||
Let's just export one task in CSV format...
|
|
||||||
|
|
||||||
.RS
|
|
||||||
$ task export.csv venue
|
|
||||||
.br
|
|
||||||
\'uuid','status','tags','entry','start','due','recur','end','project','priority','fg','bg','description'
|
|
||||||
.br
|
|
||||||
\'773c2b02-919e-4527-95f0-814c19dd198a','completed','',1287237350,,1287288000,,1287250285,'party','H',,,'Select and book a venue'
|
|
||||||
.RE
|
|
||||||
|
|
||||||
Or in VCalendar format...
|
|
||||||
|
|
||||||
.RS
|
|
||||||
$ task export.vcalendar venue
|
|
||||||
.br
|
|
||||||
BEGIN:VCALENDAR
|
|
||||||
.br
|
|
||||||
VERSION:2.0
|
|
||||||
.br
|
|
||||||
PRODID:-//GBF//task 1.9.3.beta1//EN
|
|
||||||
.br
|
|
||||||
BEGIN:VTODO
|
|
||||||
.br
|
|
||||||
UID:773c2b02-919e-4527-95f0-814c19dd198a
|
|
||||||
.br
|
|
||||||
DTSTAMP:20101016T135550Z
|
|
||||||
.br
|
|
||||||
DUE:20101017T040000Z
|
|
||||||
.br
|
|
||||||
COMPLETED:20101016T173125Z
|
|
||||||
.br
|
|
||||||
SUMMARY:Select and book a venue
|
|
||||||
.br
|
|
||||||
CLASS:PRIVATE
|
|
||||||
.br
|
|
||||||
PRIORITY:1
|
|
||||||
.br
|
|
||||||
STATUS:COMPLETED
|
|
||||||
.br
|
|
||||||
COMMENT:Started task
|
|
||||||
.br
|
|
||||||
COMMENT:Stopped task
|
|
||||||
.br
|
|
||||||
END:VTODO
|
|
||||||
.br
|
|
||||||
END:VCALENDAR
|
|
||||||
.RE
|
|
||||||
|
|
||||||
Or YAML.
|
|
||||||
|
|
||||||
.RS
|
|
||||||
$ task export.yaml venue
|
|
||||||
.br
|
|
||||||
%YAML 1.1
|
|
||||||
.br
|
|
||||||
---
|
|
||||||
.br
|
|
||||||
task:
|
|
||||||
.br
|
|
||||||
depends: 3a6881bb-628b-4f90-93d7-4da563b83d54
|
|
||||||
.br
|
|
||||||
description: Select and book a venue
|
|
||||||
.br
|
|
||||||
due: 1287288000
|
|
||||||
.br
|
|
||||||
end: 1287250285
|
|
||||||
.br
|
|
||||||
entry: 1287237350
|
|
||||||
.br
|
|
||||||
priority: H
|
|
||||||
.br
|
|
||||||
project: party
|
|
||||||
.br
|
|
||||||
status: completed
|
|
||||||
.br
|
|
||||||
uuid: 773c2b02-919e-4527-95f0-814c19dd198a
|
|
||||||
.br
|
|
||||||
annotation:
|
|
||||||
.br
|
|
||||||
entry: 1287242411
|
|
||||||
.br
|
|
||||||
description: Started task
|
|
||||||
.br
|
|
||||||
annotation:
|
|
||||||
.br
|
|
||||||
entry: 1287242506
|
|
||||||
.br
|
|
||||||
description: Stopped task
|
|
||||||
.br
|
|
||||||
...
|
|
||||||
.RE
|
|
||||||
|
|
||||||
I can also import. Here I am importing simple lines of text. Taskwarrior
|
|
||||||
recognizes the format by looking inside the file and making a guess, then
|
|
||||||
confirms.
|
|
||||||
|
|
||||||
.RS
|
|
||||||
$ cat file.text
|
|
||||||
.br
|
|
||||||
Remember to read the task man page
|
|
||||||
.br
|
|
||||||
$ task import file.text
|
|
||||||
.br
|
|
||||||
This looks like a text file with one task per line. Okay to proceed? (y/n) y
|
|
||||||
.br
|
|
||||||
Imported 1 tasks successfully, with 0 errors.
|
|
||||||
.RE
|
|
||||||
|
|
||||||
Here is a YAML example. Taskwarrior can read several formats, including old
|
|
||||||
versions of its data files. Using YAML, you can round-trip the data without
|
|
||||||
loss, which means you can export and import without any missing information.
|
|
||||||
This also means that 'export.yaml' is good for making a backup copy of your
|
|
||||||
tasks.
|
|
||||||
|
|
||||||
.RS
|
|
||||||
$ cat file.yaml
|
|
||||||
.br
|
|
||||||
%YAML 1.1
|
|
||||||
.br
|
|
||||||
---
|
|
||||||
.br
|
|
||||||
task:
|
|
||||||
.br
|
|
||||||
description: Visit http://taskwarrior.org
|
|
||||||
.br
|
|
||||||
due: 1281844800
|
|
||||||
.br
|
|
||||||
entry: 1281289630
|
|
||||||
.br
|
|
||||||
priority: H
|
|
||||||
.br
|
|
||||||
project: work
|
|
||||||
.br
|
|
||||||
status: pending
|
|
||||||
.br
|
|
||||||
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
.br
|
|
||||||
...
|
|
||||||
.br
|
|
||||||
$ task import file.yaml
|
|
||||||
.br
|
|
||||||
This looks like a YAML file. Okay to proceed? (y/n) y
|
|
||||||
.br
|
|
||||||
Imported 1 tasks successfully.
|
|
||||||
.RE
|
|
||||||
|
|
||||||
Here are the imported tasks.
|
|
||||||
|
|
||||||
.RS
|
|
||||||
$ task new limit:2
|
|
||||||
.br
|
|
||||||
|
|
||||||
.br
|
|
||||||
ID Project Pri Due Active Age Description
|
|
||||||
.br
|
|
||||||
-- ------- --- ---------- ------ ----- ------------------------------------
|
|
||||||
.br
|
|
||||||
11 work H 8/15/2010 9 wks Visit http://taskwarrior.org
|
|
||||||
.br
|
|
||||||
10 1 min Remember to read the task man page
|
|
||||||
.br
|
|
||||||
|
|
||||||
.br
|
|
||||||
9 tasks, 2 shown
|
|
||||||
.RE
|
|
||||||
|
|
||||||
.SH HELP
|
.SH HELP
|
||||||
You'll find a quick reference page built in, with the 'help' command, or perhaps
|
You'll find a quick reference page built in, with the 'help' command, or perhaps
|
||||||
you'll want to take a look at the several man pages installed.
|
you'll want to take a look at the several man pages installed.
|
||||||
@@ -3476,14 +3170,12 @@ $ task help
|
|||||||
.RE
|
.RE
|
||||||
|
|
||||||
.SH "CREDITS & COPYRIGHTS"
|
.SH "CREDITS & COPYRIGHTS"
|
||||||
task was written by P. Beckingham <paul@beckingham.net>.
|
Copyright (C) 2006 \- 2013 P. Beckingham, F. Hernandez.
|
||||||
.br
|
|
||||||
Copyright (C) 2006 \- 2010 P. Beckingham
|
|
||||||
|
|
||||||
This man page was originally written by Federico Hernandez, and has been modified and supplemented by Paul Beckingham.
|
This man page was originally written by Federico Hernandez, and has been modified and supplemented by Paul Beckingham.
|
||||||
|
|
||||||
task is distributed under the GNU General Public License. See
|
Taskwarrior is distributed under the MIT license. See
|
||||||
http://www.gnu.org/licenses/gpl-2.0.txt for more information.
|
http://www.opensource.org/licenses/mit-license.php for more information.
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR task(1),
|
.BR task(1),
|
||||||
630
doc/man/task.1
630
doc/man/task.1
@@ -1,630 +0,0 @@
|
|||||||
.TH task 1 2010-10-07 "task 1.9.3" "User Manuals"
|
|
||||||
|
|
||||||
.SH NAME
|
|
||||||
task \- A command line todo manager.
|
|
||||||
|
|
||||||
.SH SYNOPSIS
|
|
||||||
.B task [subcommand] [args]
|
|
||||||
|
|
||||||
.SH DESCRIPTION
|
|
||||||
Taskwarrior is a command line todo list manager. It maintains a list of tasks
|
|
||||||
that you want to do, allowing you to add/remove, and otherwise manipulate them.
|
|
||||||
Task has a rich list of subcommands that allow you to do various things with it.
|
|
||||||
|
|
||||||
At the core, taskwarrior is a list processing program. You add text and
|
|
||||||
additional related parameters and redisplay the information in a nice way. It
|
|
||||||
turns into a todo list program when you add due dates and recurrence. It turns
|
|
||||||
into an organized todo list program when you add priorities, tags (one word
|
|
||||||
descriptors), project groups, etc. Taskwarrior turns into an organized to do
|
|
||||||
list program when you modify the configuration file to have the output displayed
|
|
||||||
the way you want to see it.
|
|
||||||
|
|
||||||
.SH SUBCOMMANDS
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B add [tags] [attrs] description
|
|
||||||
Adds a new task to the task list.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B log [tags] [attrs] description
|
|
||||||
Adds a new task that is already completed, to the task list.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B annotate ID description
|
|
||||||
Adds an annotation to an existing task.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B denotate ID description
|
|
||||||
Deletes an annotation for the specified task. If the provided description matches an
|
|
||||||
annotation exactly, the corresponding annotation is deleted. If the provided description
|
|
||||||
matches annotations partly, the first partly matched annotation is deleted.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B info ID
|
|
||||||
Shows all data and metadata for the specified task.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B ID
|
|
||||||
With an ID but no specific command, taskwarrior runs the "info" command.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B undo
|
|
||||||
Reverts the most recent action.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B shell
|
|
||||||
Launches an interactive shell with all the task commands available.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B duplicate ID [tags] [attrs] [description]
|
|
||||||
Duplicates the specified task and allows modifications.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B delete ID
|
|
||||||
Deletes the specified task from task list.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B start ID
|
|
||||||
Marks the specified task as started.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B stop ID
|
|
||||||
Removes the
|
|
||||||
.I start
|
|
||||||
time from the specified task.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B done ID [tags] [attrs] [description]
|
|
||||||
Marks the specified task as done.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B projects
|
|
||||||
Lists all project names that are currently used by pending tasks, and the
|
|
||||||
number of tasks for each.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B tags
|
|
||||||
Show a list of all tags used. Any special tags used are highlighted.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B summary
|
|
||||||
Shows a report of task status by project.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B timesheet [weeks]
|
|
||||||
Shows a weekly report of tasks completed and started.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B history
|
|
||||||
Shows a report of task history by month. Alias to history.monthly.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B history.annual
|
|
||||||
Shows a report of task history by year.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B ghistory
|
|
||||||
Shows a graphical report of task status by month. Alias to ghistory.monthly.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B ghistory.annual
|
|
||||||
Shows a graphical report of task status by year.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B calendar [ y | due [y] | month year [y] | year ]
|
|
||||||
Shows a monthly calendar with due tasks marked.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B stats
|
|
||||||
Shows task database statistics.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B import \fIfile
|
|
||||||
Imports tasks from a variety of formats.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B export
|
|
||||||
Exports all tasks in the default format. This is an alias to the command export.yaml.
|
|
||||||
Redirect the output to a file, if you wish to save it, or pipe it to another command.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B export.csv
|
|
||||||
Exports all tasks in CSV format.
|
|
||||||
Redirect the output to a file, if you wish to save it, or pipe it to another command.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B export.ical
|
|
||||||
Exports all tasks in iCalendar format.
|
|
||||||
Redirect the output to a file, if you wish to save it, or pipe it to another command.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B export.yaml
|
|
||||||
Exports all tasks in YAML 1.1 format.
|
|
||||||
Redirect the output to a file, if you wish to save it, or pipe it to another command.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B merge URL
|
|
||||||
Merges two task databases by comparing the modifications that are stored in the
|
|
||||||
undo.data files. The location of the second undo.data file must be passed on as argument. URL may have the following syntaxes:
|
|
||||||
|
|
||||||
|
|
||||||
ssh://[user@]host.xz[:port]/path/to/undo.data
|
|
||||||
|
|
||||||
rsync://[user@]host.xz[:port]/path/to/undo.data
|
|
||||||
|
|
||||||
[user@]host.xz:path/to/undo.data
|
|
||||||
|
|
||||||
/path/to/local/undo.data
|
|
||||||
|
|
||||||
You can set aliases for frequently used URLs in the .taskrc.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B push URL
|
|
||||||
Pushes the task database to a remote another location for distributing the
|
|
||||||
changes made by the merge command.
|
|
||||||
|
|
||||||
(See annotations above for valid URL syntaxes.)
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B pull URL
|
|
||||||
Overwrites the task database with those files found at the URL.
|
|
||||||
|
|
||||||
(See annotations above for valid URL syntaxes.)
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B color [sample | legend]
|
|
||||||
Displays all possible colors, a named sample, or a legend containing all
|
|
||||||
currently defined colors.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B version
|
|
||||||
Shows the taskwarrior version number
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B help
|
|
||||||
Shows the long usage text.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B show [all | substring]"
|
|
||||||
Shows all the current settings in the taskwarrior configuration file. If a
|
|
||||||
substring is specified just the settings containing that substring will be
|
|
||||||
displayed.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B config [name [value | '']]
|
|
||||||
Add, modify and remove settings directly in the taskwarrior configuration.
|
|
||||||
This command either modifies the 'name' setting with a new value of 'value',
|
|
||||||
or adds a new entry that is equivalent to 'name=value':
|
|
||||||
|
|
||||||
task config name value
|
|
||||||
|
|
||||||
This command sets a blank value. This has the effect of suppressing any
|
|
||||||
default value:
|
|
||||||
|
|
||||||
task config name ''
|
|
||||||
|
|
||||||
Finally, this command removes any 'name=...' entry from the .taskrc file:
|
|
||||||
|
|
||||||
task config name
|
|
||||||
|
|
||||||
.SH MODIFYING SUBCOMMANDS
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B ID [tags] [attrs] [description]
|
|
||||||
Modifies the existing task with provided information.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B ID /from/to/
|
|
||||||
Performs one substitution on task description and annotation for fixing mistakes.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B ID /from/to/g
|
|
||||||
Performs all substitutions on task description and annotation for fixing mistakes.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B edit ID
|
|
||||||
Launches an editor to let you modify all aspects of a task directly.
|
|
||||||
Use carefully.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B append [tags] [attrs] description
|
|
||||||
Appends information to an existing task.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B prepend [tags] [attrs] description
|
|
||||||
Prepends information to an existing task.
|
|
||||||
|
|
||||||
.SH REPORT SUBCOMMANDS
|
|
||||||
|
|
||||||
A report is a listing of information from the task database. There are several
|
|
||||||
reports currently predefined in taskwarrior. The output and sort behavior of
|
|
||||||
these reports can be configured in the configuration file. See also the man page
|
|
||||||
taskrc(5).
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B active [tags] [attrs] [description]
|
|
||||||
Shows all tasks matching the specified criteria
|
|
||||||
that are started but not completed.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B all [tags] [attrs] [description]
|
|
||||||
Shows all tasks matching the specified criteria.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B completed [tags] [attrs] [description]
|
|
||||||
Shows all tasks matching the specified criteria
|
|
||||||
that are completed.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B minimal [tags] [attrs] [description]
|
|
||||||
Provides a minimal listing of tasks with specified criteria.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B ls [tags] [attrs] [description]
|
|
||||||
Provides a short listing of tasks with specified criteria.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B list [tags] [attrs] [description]
|
|
||||||
Provides a more detailed listing of tasks with specified criteria.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B long [tags] [attrs] [description]
|
|
||||||
Provides the most detailed listing of tasks with specified criteria.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B newest [tags] [attrs] [description]
|
|
||||||
Shows the newest tasks with specified criteria.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B oldest [tags] [attrs] [description]
|
|
||||||
Shows the oldest tasks with specified criteria
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B overdue [tags] [attrs] [description]
|
|
||||||
Shows all incomplete tasks matching the specified criteria
|
|
||||||
that are beyond their due date.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B recurring [tags] [attrs] [description]
|
|
||||||
Shows all recurring tasks matching the specified criteria.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B waiting [tags] [attrs] [description]
|
|
||||||
Shows all waiting tasks matching the specified criteria.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B blocked [tags] [attrs] [description]
|
|
||||||
Shows all blocked tasks, that are dependent on other tasks.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B unblocked [tags] [attrs] [description]
|
|
||||||
Shows all tasks that are not blocked by dependencies.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B next [tags] [attrs] [description]
|
|
||||||
Shows all tasks with upcoming due dates matching the specified criteria.
|
|
||||||
|
|
||||||
.SH ATTRIBUTES AND METADATA
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B ID
|
|
||||||
Tasks can be specified uniquely by IDs, which are simply the index of the
|
|
||||||
task in a report. Be careful, as the IDs of tasks may change after a
|
|
||||||
modification to the database. Always run a report to check you have the right
|
|
||||||
ID for a task. IDs can be given to task as a sequences, for example,
|
|
||||||
.br
|
|
||||||
.B
|
|
||||||
task del 1,4-10,19
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B +tag|-tag
|
|
||||||
Tags are arbitrary words associated with a task. Use + to add a tag and - to
|
|
||||||
remove a tag from a task. A task can have any quantity of tags.
|
|
||||||
|
|
||||||
Certain tags (called 'special tags'), can be used to affect the way tasks are
|
|
||||||
treated. For example, is a task has the special tag 'nocolor', then it is
|
|
||||||
exempt from all color rules. The supported special tags are:
|
|
||||||
|
|
||||||
+nocolor Disable color rules processing for this task
|
|
||||||
+nonag Completion of this task suppresses all nag messages
|
|
||||||
+nocal This task will not appear on the calendar
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B project:<project-name>
|
|
||||||
Specifies the project to which a task is related to.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B priority:H|M|L|N
|
|
||||||
Specifies High, Medium, Low and No priority for a task.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B due:<due-date>
|
|
||||||
Specifies the due-date of a task.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B recur:<frequency>
|
|
||||||
Specifies the frequency of a recurrence of a task.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B until:<end-date-of-recurrence>
|
|
||||||
Specifies the Recurrence end-date of a task.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B fg:<color-spec>
|
|
||||||
Specifies foreground color.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B bg:<color-spec>
|
|
||||||
Specifies background color.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B limit:<number-of-rows>
|
|
||||||
Specifies the desired number of tasks a report should show, if a positive
|
|
||||||
integer is given. The value 'page' may also be used, and will limit the
|
|
||||||
report output to as many lines of text as will fit on screen. This defaults
|
|
||||||
to 25 lines, if ncurses is not installed or enabled.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B wait:<wait-date>
|
|
||||||
Date until task becomes pending.
|
|
||||||
|
|
||||||
.SH ATTRIBUTE MODIFIERS
|
|
||||||
Attribute modifiers improve filters. Supported modifiers are:
|
|
||||||
|
|
||||||
.RS
|
|
||||||
.B before (synonyms under, below)
|
|
||||||
.br
|
|
||||||
.B after (synonyms over, above)
|
|
||||||
.br
|
|
||||||
.B none
|
|
||||||
.br
|
|
||||||
.B any
|
|
||||||
.br
|
|
||||||
.B is (synonym equals)
|
|
||||||
.br
|
|
||||||
.B isnt (synonym not)
|
|
||||||
.br
|
|
||||||
.B has (synonym contains)
|
|
||||||
.br
|
|
||||||
.B hasnt
|
|
||||||
.br
|
|
||||||
.B startswith (synonym left)
|
|
||||||
.br
|
|
||||||
.B endswith (synonym right)
|
|
||||||
.br
|
|
||||||
.B word
|
|
||||||
.br
|
|
||||||
.B noword
|
|
||||||
.RE
|
|
||||||
|
|
||||||
For example:
|
|
||||||
|
|
||||||
.RS
|
|
||||||
task list due.before:eom priority.not:L
|
|
||||||
.RE
|
|
||||||
|
|
||||||
.SH SPECIFYING DATES AND FREQUENCIES
|
|
||||||
|
|
||||||
.SS DATES
|
|
||||||
Taskwarrior reads dates from the command line and displays dates in the
|
|
||||||
reports. The expected and desired date format is determined by the
|
|
||||||
configuration variable
|
|
||||||
.I dateformat
|
|
||||||
in the taskwarrior configuration file.
|
|
||||||
|
|
||||||
.RS
|
|
||||||
.TP
|
|
||||||
Exact specification
|
|
||||||
task ... due:7/14/2008
|
|
||||||
|
|
||||||
.TP
|
|
||||||
Relative wording
|
|
||||||
task ... due:today
|
|
||||||
.br
|
|
||||||
task ... due:yesterday
|
|
||||||
.br
|
|
||||||
task ... due:tomorrow
|
|
||||||
|
|
||||||
.TP
|
|
||||||
Day number with ordinal
|
|
||||||
task ... due:23rd
|
|
||||||
.br
|
|
||||||
task ... due:3wks
|
|
||||||
.br
|
|
||||||
task ... due:1day
|
|
||||||
.br
|
|
||||||
task ... due:9hrs
|
|
||||||
|
|
||||||
.TP
|
|
||||||
Start of (work) week (Monday), calendar week (Sunday or Monday), month and year
|
|
||||||
.br
|
|
||||||
task ... due:sow
|
|
||||||
.br
|
|
||||||
task ... due:soww
|
|
||||||
.br
|
|
||||||
task ... due:socw
|
|
||||||
.br
|
|
||||||
task ... due:som
|
|
||||||
.br
|
|
||||||
task ... due:soy
|
|
||||||
|
|
||||||
.TP
|
|
||||||
End of (work) week (Friday), calendar week (Saturday or Sunday), month and year
|
|
||||||
.br
|
|
||||||
task ... due:eow
|
|
||||||
.br
|
|
||||||
task ... due:eoww
|
|
||||||
.br
|
|
||||||
task ... due:eocw
|
|
||||||
.br
|
|
||||||
task ... due:eom
|
|
||||||
.br
|
|
||||||
task ... due:eoy
|
|
||||||
|
|
||||||
.TP
|
|
||||||
Next occurring weekday
|
|
||||||
task ... due:fri
|
|
||||||
.RE
|
|
||||||
|
|
||||||
.SS FREQUENCIES
|
|
||||||
Recurrence periods. Taskwarrior supports several ways of specifying the
|
|
||||||
.I frequency
|
|
||||||
of recurring tasks.
|
|
||||||
|
|
||||||
.RS
|
|
||||||
.TP
|
|
||||||
daily, day, 1d, 2d, ...
|
|
||||||
Every day or a number of days.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
weekdays
|
|
||||||
Mondays, Tuesdays, Wednesdays, Thursdays, Fridays and skipping weekend days.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
weekly, 1w, 2w, ...
|
|
||||||
Every week or a number of weeks.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
biweekly, fortnight
|
|
||||||
Every two weeks.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
quarterly, 1q, 2q, ...
|
|
||||||
Every three months, a quarter, or a number of quarters.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
semiannual
|
|
||||||
Every six months.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
annual, yearly, 1y, 2y, ...
|
|
||||||
Every year or a number of years.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
biannual, biyearly, 2y
|
|
||||||
Every two years.
|
|
||||||
.RE
|
|
||||||
|
|
||||||
|
|
||||||
.SH COMMAND ABBREVIATION
|
|
||||||
All taskwarrior commands may be abbreviated as long as a unique prefix is used. E.g.
|
|
||||||
|
|
||||||
.RS
|
|
||||||
$ task li
|
|
||||||
.RE
|
|
||||||
|
|
||||||
is an unambiguous abbreviation for
|
|
||||||
|
|
||||||
.RS
|
|
||||||
$ task list
|
|
||||||
.RE
|
|
||||||
|
|
||||||
but
|
|
||||||
|
|
||||||
.RS
|
|
||||||
$ task l
|
|
||||||
.RE
|
|
||||||
|
|
||||||
could be list, ls or long.
|
|
||||||
|
|
||||||
.SH SPECIFYING DESCRIPTIONS
|
|
||||||
Some task descriptions need to be escaped because of the shell
|
|
||||||
and the special meaning of some characters to the shell. This can be
|
|
||||||
done either by adding quotes to the description or escaping the special
|
|
||||||
character:
|
|
||||||
|
|
||||||
.RS
|
|
||||||
$ task add "quoted ' quote"
|
|
||||||
.br
|
|
||||||
$ task add escaped \\' quote
|
|
||||||
.RE
|
|
||||||
|
|
||||||
The argument \-\- (a double dash) tells taskwarrior to treat all other args
|
|
||||||
as description:
|
|
||||||
|
|
||||||
.RS
|
|
||||||
$ task add -- project:Home needs scheduling
|
|
||||||
.RE
|
|
||||||
|
|
||||||
.SH CONFIGURATION FILE AND OVERRIDE OPTIONS
|
|
||||||
Taskwarrior stores its configuration in a file in the user's home directory:
|
|
||||||
~/.taskrc . The default configuration file can be overridden with
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B task rc:<path-to-alternate-file>
|
|
||||||
Specifies an alternate configuration file.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B task rc.<name>:<value> ...
|
|
||||||
Specifies individual configuration file overrides.
|
|
||||||
|
|
||||||
.SH EXAMPLES
|
|
||||||
|
|
||||||
For examples please see the task tutorial man page at
|
|
||||||
|
|
||||||
.RS
|
|
||||||
man task-tutorial
|
|
||||||
.RE
|
|
||||||
|
|
||||||
or the online documentation starting at
|
|
||||||
|
|
||||||
.RS
|
|
||||||
<http://taskwarrior.org/wiki/taskwarrior/Simple>
|
|
||||||
.RE
|
|
||||||
|
|
||||||
.SH FILES
|
|
||||||
|
|
||||||
.TP
|
|
||||||
~/.taskrc User configuration file - see also taskrc(5).
|
|
||||||
|
|
||||||
.TP
|
|
||||||
~/.task The default directory where task stores its data files. The location
|
|
||||||
can be configured in the configuration file.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
~/.task/pending.data The file that contains the tasks that are not yet done.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
~/.task/completed.data The file that contains the completed "done" tasks.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
~/.task/undo.data The file that contains the information to the "undo" command.
|
|
||||||
|
|
||||||
.SH "CREDITS & COPYRIGHTS"
|
|
||||||
Taskwarrior was written by P. Beckingham <paul@beckingham.net>.
|
|
||||||
.br
|
|
||||||
Copyright (C) 2006 \- 2010 P. Beckingham
|
|
||||||
|
|
||||||
This man page was originally written by P.C. Shyamshankar, and has been modified
|
|
||||||
and supplemented by Federico Hernandez.
|
|
||||||
|
|
||||||
Thank also to T. Charles Yun.
|
|
||||||
|
|
||||||
Taskwarrior is distributed under the GNU General Public License. See
|
|
||||||
http://www.gnu.org/licenses/gpl-2.0.txt for more information.
|
|
||||||
|
|
||||||
.SH SEE ALSO
|
|
||||||
.BR taskrc(5),
|
|
||||||
.BR task-tutorial(5),
|
|
||||||
.BR task-faq(5),
|
|
||||||
.BR task-color(5),
|
|
||||||
.BR task-sync(5)
|
|
||||||
|
|
||||||
For more information regarding taskwarrior, the following may be referenced:
|
|
||||||
|
|
||||||
.TP
|
|
||||||
The official site at
|
|
||||||
<http://taskwarrior.org>
|
|
||||||
|
|
||||||
.TP
|
|
||||||
The official code repository at
|
|
||||||
<git://tasktools.org/task.git/>
|
|
||||||
|
|
||||||
.TP
|
|
||||||
You can contact the project by writing an email to
|
|
||||||
<support@taskwarrior.org>
|
|
||||||
|
|
||||||
.SH REPORTING BUGS
|
|
||||||
.TP
|
|
||||||
Bugs in taskwarrior may be reported to the issue-tracker at
|
|
||||||
<http://taskwarrior.org>
|
|
||||||
1097
doc/man/task.1.in
Normal file
1097
doc/man/task.1.in
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
|||||||
.TH taskrc 5 2010-10-07 "task 1.9.2" "User Manuals"
|
.TH taskrc 5 2013-04-07 "${PACKAGE_STRING}" "User Manuals"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
taskrc \- Configuration file for the task(1) command
|
taskrc \- Configuration file for the task(1) command
|
||||||
@@ -6,7 +6,9 @@ taskrc \- Configuration file for the task(1) command
|
|||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B $HOME/.taskrc
|
.B $HOME/.taskrc
|
||||||
.br
|
.br
|
||||||
.B task rc:<directory-path>/.taskrc
|
.B task rc:<directory-path>/.taskrc ...
|
||||||
|
.br
|
||||||
|
.B TASKRC=<directory-path>/.taskrc task ...
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B taskwarrior
|
.B taskwarrior
|
||||||
@@ -23,10 +25,16 @@ The default location can be overridden using the
|
|||||||
attribute when running task:
|
attribute when running task:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task rc:<directory-path>/.taskrc
|
$ task rc:<directory-path>/.taskrc ...
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
Individual option can be overridden by using the
|
or using the TASKRC environment variable:
|
||||||
|
|
||||||
|
.RS
|
||||||
|
$ TASKRC=/tmp/.taskrc task ...
|
||||||
|
.RE
|
||||||
|
|
||||||
|
Individual options can be overridden by using the
|
||||||
.I rc.<name>:
|
.I rc.<name>:
|
||||||
attribute when running task:
|
attribute when running task:
|
||||||
|
|
||||||
@@ -34,6 +42,12 @@ attribute when running task:
|
|||||||
$ task rc.<name>:<value> ...
|
$ task rc.<name>:<value> ...
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
.RS
|
||||||
|
$ task rc.<name>=<value> ...
|
||||||
|
.RE
|
||||||
|
|
||||||
If
|
If
|
||||||
.B taskwarrior
|
.B taskwarrior
|
||||||
is run without an existing configuration file it will ask if it should create a
|
is run without an existing configuration file it will ask if it should create a
|
||||||
@@ -41,8 +55,8 @@ default, sample
|
|||||||
.I .taskrc
|
.I .taskrc
|
||||||
file in the user's home directory.
|
file in the user's home directory.
|
||||||
|
|
||||||
The taskwarrior configuration file consists of a series of "assignments" in each
|
The taskwarrior configuration file consists of a series of assignments in each
|
||||||
line. The "assignments" have the syntax:
|
line. The assignments have the syntax:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
<name-of-configuration-variable>=<value-to-be-set>
|
<name-of-configuration-variable>=<value-to-be-set>
|
||||||
@@ -62,12 +76,12 @@ is the value the variable is to be set to.
|
|||||||
and set a configuration variable to a certain value. The equal sign ("=") is
|
and set a configuration variable to a certain value. The equal sign ("=") is
|
||||||
used to separate the variable name from the value to be set.
|
used to separate the variable name from the value to be set.
|
||||||
|
|
||||||
The hash mark, or pound sign ("#") is used as a "comment" character. It can be
|
The hash mark, or pound sign ("#") is used as a comment character. It can be
|
||||||
used to annotate the configuration file. All text after the character to the end
|
used to annotate the configuration file. All text after the character to the end
|
||||||
of the line is ignored.
|
of the line is ignored.
|
||||||
|
|
||||||
Note that taskwarrior is flexible about the values used to represent Boolean
|
Note that taskwarrior is flexible about the values used to represent Boolean
|
||||||
items. You can use "on", "yes", "y", "1", "true", "t", "+", "enabled".
|
items. You can use "on", "yes", "y", "1" and "true".
|
||||||
Anything else means "off".
|
Anything else means "off".
|
||||||
|
|
||||||
.SH EDITING
|
.SH EDITING
|
||||||
@@ -94,7 +108,7 @@ $ task config nag ""
|
|||||||
Taskwarrior will also display all your settings with this command:
|
Taskwarrior will also display all your settings with this command:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task config
|
$ task show
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
and in addition, will also perform a check of all the values in the file,
|
and in addition, will also perform a check of all the values in the file,
|
||||||
@@ -115,7 +129,7 @@ ones containing just the relevant configuration data like colors, etc.
|
|||||||
There are two excellent uses of includes in your .taskrc, shown here:
|
There are two excellent uses of includes in your .taskrc, shown here:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
include /usr/local/share/doc/task/rc/holidays-US.rc
|
include /usr/local/share/doc/task/rc/holidays.en-US.rc
|
||||||
.br
|
.br
|
||||||
include /usr/local/share/doc/task/rc/dark-16.theme
|
include /usr/local/share/doc/task/rc/dark-16.theme
|
||||||
.RE
|
.RE
|
||||||
@@ -124,6 +138,17 @@ This includes two standard files that are distributed with taskwarrior, which
|
|||||||
define a set of US holidays, and set up a 16-color theme to use, to color the
|
define a set of US holidays, and set up a 16-color theme to use, to color the
|
||||||
reports and calendar.
|
reports and calendar.
|
||||||
|
|
||||||
|
.SH ENVIRONMENT VARIABLES
|
||||||
|
These environmant variables override defaults and command line arguments.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B TASKDATA=~/.task
|
||||||
|
This overrides the default path for the taskwarrior data files.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B TASKRC=~/.taskrc
|
||||||
|
This overrides the default RC file.
|
||||||
|
|
||||||
.SH CONFIGURATION VARIABLES
|
.SH CONFIGURATION VARIABLES
|
||||||
Valid variable names and their default values are:
|
Valid variable names and their default values are:
|
||||||
|
|
||||||
@@ -138,6 +163,8 @@ Note that you can use the
|
|||||||
.B ~
|
.B ~
|
||||||
shell meta character, which will be properly expanded.
|
shell meta character, which will be properly expanded.
|
||||||
|
|
||||||
|
Note that the TASKDATA environment variable overrides this setting.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B locking=on
|
.B locking=on
|
||||||
Determines whether to use file locking when accessing the pending.data and
|
Determines whether to use file locking when accessing the pending.data and
|
||||||
@@ -146,15 +173,46 @@ files on an NFS mount may need to set locking to "off". Note that there is
|
|||||||
danger in setting this value to "off" - another program (or another instance of
|
danger in setting this value to "off" - another program (or another instance of
|
||||||
task) may write to the task.pending file at the same time.
|
task) may write to the task.pending file at the same time.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B gc=on
|
||||||
|
Can be used to temporarily suspend garbage collection (gc), so that task IDs
|
||||||
|
don't change. Note that this should be used in the form of a command line
|
||||||
|
override (task rc.gc=off ...), and not permanently used in the .taskrc file,
|
||||||
|
as this significantly affects performance in the long term.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B exit.on.missing.db=no
|
||||||
|
When set to 'yes' causes the program to exit if the database (~/.task or
|
||||||
|
rc.data.location or TASKDATA override) is missing. Default value is 'no'.
|
||||||
|
|
||||||
.SS TERMINAL
|
.SS TERMINAL
|
||||||
.TP
|
.TP
|
||||||
.B curses=on
|
.B detection=on
|
||||||
Determines whether to use ncurses to establish the size of the window you are
|
Determines whether to use ioctl to establish the size of the window you are
|
||||||
using, for text wrapping.
|
using, for text wrapping.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B defaultwidth=80
|
.B defaultwidth=80
|
||||||
The width of tables used when ncurses support is not available. Defaults to 80.
|
The width of output used when auto-detection support is not available. Defaults
|
||||||
|
to 80. If set to 0, it is interpreted as infinite width, therefore with no
|
||||||
|
word-wrapping; this is useful when redirecting report output to a file for subsequent
|
||||||
|
handling.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B defaultheight=24
|
||||||
|
The height of output used when auto-detection support is not available. Defaults
|
||||||
|
to 24. If set to 0, it is interpreted as infinite height. This is useful when redirecting
|
||||||
|
charts to a file for subsequent handling.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B avoidlastcolumn=no
|
||||||
|
Causes the width of the terminal minus one to be used as the full width. This
|
||||||
|
avoids placing color codes in the last column which can cause problems for
|
||||||
|
Cygwin users. Default value is 'no'.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B hyphenate=on
|
||||||
|
Hyphenates lines when wrapping breaks occur mid-word. Default value is 'on'.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B editor=vi
|
.B editor=vi
|
||||||
@@ -164,52 +222,93 @@ command is used. Taskwarrior will first look for this configuration variable. If
|
|||||||
found, it is used. Otherwise it will look for the $VISUAL or $EDITOR
|
found, it is used. Otherwise it will look for the $VISUAL or $EDITOR
|
||||||
environment variables, before it defaults to using "vi".
|
environment variables, before it defaults to using "vi".
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B edit.verbose=on
|
||||||
|
When set to on (the default), helpful explanatory comments are added to the
|
||||||
|
edited file when using the "task edit ..." command. Setting this to off means
|
||||||
|
that you would see a smaller, more compact representation of the task, with no
|
||||||
|
help text. Deprecated - use verbosity token 'edit'.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B locale=en-US.UTF8
|
||||||
|
Locale to be used by Taskwarrior for synchronization with the task server. The
|
||||||
|
default value is currently blank.
|
||||||
|
|
||||||
.SS MISCELLANEOUS
|
.SS MISCELLANEOUS
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B locale=en-US
|
.B verbose=on|off|nothing|list...
|
||||||
The locale is a combination of ISO 639-1 language code and ISO 3166 country
|
When set to "on" (the default), helpful explanatory comments are added to all
|
||||||
code. If not specified, will assume en-US. If specified, taskwarrior will
|
output from Taskwarrior. Setting this to "off" means that you would see regular
|
||||||
locate the correct file of localized strings and proceed. It is an error to
|
output.
|
||||||
specify a locale for which there is no strings file.
|
|
||||||
|
|
||||||
.TP
|
The special value "nothing" can be used to eliminate all optional output, which
|
||||||
.B verbose=yes
|
results in only the formatted data being shown, with nothing else. This output
|
||||||
Controls some of the verbosity of taskwarrior.
|
is most readily parsed and used by shell scripts.
|
||||||
|
|
||||||
|
Alternatively, you can specify a comma-separated list of verbosity tokens that
|
||||||
|
control specific occasions when output is generated. This list may contain:
|
||||||
|
|
||||||
|
blank Inserts extra blank lines in output, for clarity
|
||||||
|
header Messages that appear before report output
|
||||||
|
footnote Messages that appear after report output
|
||||||
|
label Column labels on tabular reports
|
||||||
|
new-id Provides feedback of any new task IDs
|
||||||
|
affected Reports 'N tasks affected' and similar
|
||||||
|
edit Used the verbose template for the 'edit' command
|
||||||
|
special Feedback when applying special tags
|
||||||
|
project Feedback about project status changes
|
||||||
|
|
||||||
|
Note that the "on" setting is equivalent to all the tokens being specified,
|
||||||
|
and the "nothing" setting is equivalent to none of the tokens being specified.
|
||||||
|
|
||||||
|
Here are the shortcut equivalents:
|
||||||
|
|
||||||
|
verbose=on
|
||||||
|
verbose=blank,header,footnote,label,new-id,affected,edit,special,project
|
||||||
|
|
||||||
|
verbose=off
|
||||||
|
verbose=blank,label,new-id,edit
|
||||||
|
|
||||||
|
verbose=nothing
|
||||||
|
verbose=
|
||||||
|
|
||||||
|
Those additional comments are sent to the standard error for header, footnote
|
||||||
|
and project. The others are sent to standard output.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B confirmation=yes
|
.B confirmation=yes
|
||||||
May be "yes" or "no", and determines whether taskwarrior will ask for
|
May be "yes" or "no", and determines whether taskwarrior will ask for
|
||||||
confirmation before deleting a task or doing bulk changes. The default value
|
confirmation before deleting a task, performing bulk changes, or the undo
|
||||||
is "yes".
|
command. The default value is "yes". Consider leaving this setting as "yes",
|
||||||
|
for safety.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B echo.command=yes
|
.B echo.command=yes
|
||||||
May be "yes" or "no", and causes the display of the ID and description of any
|
May be "yes" or "no", and causes the display of the ID and description of any
|
||||||
task when you run the start, stop, do, undo or delete commands. The default
|
task when you run the start, stop, do, undo or delete commands. The default
|
||||||
value is "yes".
|
value is "yes". Deprecated - use verbosity tokens 'header' and 'affected'.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B annotations=full
|
.B indent.annotation=2
|
||||||
.TP
|
Controls the number of spaces to indent annotations when shown beneath the
|
||||||
.B report.X.annotations=full
|
description field. The default value is "2".
|
||||||
Controls the display of annotations in reports. Defaults to full - all
|
|
||||||
annotations are displayed. Set to "sparse" only the last (newest) annotation
|
|
||||||
is displayed and if there are more than one present for a task a "+" sign is
|
|
||||||
added to the description. Set to "none" the output of annotations is disabled
|
|
||||||
and a "+" sign will be added if there are any annotations present. The default
|
|
||||||
value is "full".
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B next=2
|
.B indent.report=0
|
||||||
Is a number, defaulting to 2, which is the number of tasks for each project that
|
Controls the indentation of the entire report output. Default is "0".
|
||||||
are shown in the
|
|
||||||
.B task next
|
|
||||||
command.
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B bulk=2
|
.B row.padding=0
|
||||||
Is a number, defaulting to 2. When more than this number of tasks are modified
|
Controls left and right padding around each row of the report output. Default is "0".
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B column.padding=0
|
||||||
|
Controls padding between columns of the report output. Default is "1".
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B bulk=3
|
||||||
|
Is a number, defaulting to 3. When this number or greater of tasks are modified
|
||||||
in a single command, confirmation will be required, unless the
|
in a single command, confirmation will be required, unless the
|
||||||
.B confirmation
|
.B confirmation
|
||||||
variable is "no".
|
variable is "no".
|
||||||
@@ -219,10 +318,9 @@ This is useful for preventing large-scale unintended changes.
|
|||||||
.TP
|
.TP
|
||||||
.B nag=You have higher priority tasks.
|
.B nag=You have higher priority tasks.
|
||||||
This may be a string of text, or blank. It is used as a prompt when a task is
|
This may be a string of text, or blank. It is used as a prompt when a task is
|
||||||
started or completed that is not considered high priority. The "task next"
|
started or completed that is not considered high priority. Default value is:
|
||||||
command lists important tasks, and completing one of those does not generate
|
You have higher priority tasks. It is a gentle reminder that you are
|
||||||
this nagging. Default value is: You have higher priority tasks. It is a gentle
|
contradicting your own priority settings.
|
||||||
reminder that you are contradicting your own priority settings.
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B complete.all.projects=yes
|
.B complete.all.projects=yes
|
||||||
@@ -232,7 +330,7 @@ default value is "no".
|
|||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B list.all.projects=yes
|
.B list.all.projects=yes
|
||||||
May be yes or no, and determines whether 'projects' command lists all the project
|
May be yes or no, and determines whether the 'projects' command lists all the project
|
||||||
names you have used, or just the ones used in active tasks. The default value is
|
names you have used, or just the ones used in active tasks. The default value is
|
||||||
"no".
|
"no".
|
||||||
|
|
||||||
@@ -248,11 +346,46 @@ May be yes or no, and determines whether the 'tags' command lists all the tag
|
|||||||
names you have used, or just the ones used in active tasks. The default value is
|
names you have used, or just the ones used in active tasks. The default value is
|
||||||
"no".
|
"no".
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B print.empty.columns=no
|
||||||
|
May be yes or no, and determines whether columns with no data for any task are
|
||||||
|
printed. Defaults to no.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B search.case.sensitive=yes
|
.B search.case.sensitive=yes
|
||||||
May be yes or no, and determines whether keyword lookup and substitutions on the
|
May be yes or no, and determines whether keyword lookup and substitutions on the
|
||||||
description and annotations are done in a case sensitive way. Defaults to yes.
|
description and annotations are done in a case sensitive way. Defaults to yes.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B regex=off
|
||||||
|
Controls whether regular expression support is enabled.
|
||||||
|
The default value is off, because this advanced feature could cause confusion
|
||||||
|
among users that are not comfortable with regular expressions.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B xterm.title=no
|
||||||
|
Sets the xterm window title when reports are run. Defaults to off.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B patterns=on
|
||||||
|
Enables or disables pattern support on the command line, such as /foo/.
|
||||||
|
Defaults to on.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B expressions=on
|
||||||
|
Enables or disables algebraic expression support on the command line, such as
|
||||||
|
"due<eom and (pri=H or pri=M)". Defaults to on.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B dom=on
|
||||||
|
Enables or disables access to taskwarrior internals and task metadata on the
|
||||||
|
command line. Defaults to on.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B json.array=off
|
||||||
|
Determines whether the query command encloses the JSON output in '[...]' to
|
||||||
|
create a properly-formed JSON array. Defaults to off.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B _forcecolor=no
|
.B _forcecolor=no
|
||||||
Taskwarrior shuts off color automatically when the output is not sent directly
|
Taskwarrior shuts off color automatically when the output is not sent directly
|
||||||
@@ -270,11 +403,6 @@ $ task rc._forcecolor=yes list > file
|
|||||||
.RE
|
.RE
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.TP
|
|
||||||
.B blanklines=yes
|
|
||||||
Turning this value off causes taskwarrior to generate a more vertically compact
|
|
||||||
output.
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B shell.prompt=task>
|
.B shell.prompt=task>
|
||||||
The task shell command uses this value as a prompt. You can change it to any
|
The task shell command uses this value as a prompt. You can change it to any
|
||||||
@@ -282,11 +410,15 @@ string you like.
|
|||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B active.indicator=*
|
.B active.indicator=*
|
||||||
The character or string to show in the active column. Defaults to *.
|
The character or string to show in the start.active column. Defaults to *.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B tag.indicator=+
|
.B tag.indicator=+
|
||||||
The character or string to show in the tag_indicator column. Defaults to +.
|
The character or string to show in the tag.indicator column. Defaults to +.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B dependency.indicator=D
|
||||||
|
The character or string to show in the depends.indicator column. Defaults to +.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B recurrence.indicator=R
|
.B recurrence.indicator=R
|
||||||
@@ -306,6 +438,22 @@ comparison of the data. This can be in either the 'side' style, which compares
|
|||||||
values side-by-side in a table, or 'diff' style, which uses a format similar to
|
values side-by-side in a table, or 'diff' style, which uses a format similar to
|
||||||
the 'diff' command.
|
the 'diff' command.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B burndown.bias=0.666
|
||||||
|
The burndown bias is a number that lies within the range 0 <= bias <= 1. The bias
|
||||||
|
is the fraction of the find/fix rates derived from the short-term data (last
|
||||||
|
25% of the report) versus the longer term data (last 50% of the report). A
|
||||||
|
value of 0.666 (the default) means that the short-term rate has twice the weight
|
||||||
|
of the longer-term rate. The calculation is as follows:
|
||||||
|
|
||||||
|
rate = (long-term-rate * (1 - bias)) + (short-term-rate * bias)
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B abbreviation.minimum=2
|
||||||
|
Minimum length of any abbreviated command/value. This means that "ve", "ver",
|
||||||
|
"vers", "versi", "versio" will all equate to "version", but "v" will not.
|
||||||
|
Default is 2.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B debug=off
|
.B debug=off
|
||||||
Taskwarrior has a debug mode that causes diagnostic output to be displayed.
|
Taskwarrior has a debug mode that causes diagnostic output to be displayed.
|
||||||
@@ -321,6 +469,11 @@ Taskwarrior supports command aliases. This alias provides an alternate name
|
|||||||
any of the commands. Several commands you may use are actually aliases -
|
any of the commands. Several commands you may use are actually aliases -
|
||||||
the 'history' report, for example, or 'export'.
|
the 'history' report, for example, or 'export'.
|
||||||
|
|
||||||
|
.SS EXTENSIONS
|
||||||
|
.TP
|
||||||
|
.B extensions=on
|
||||||
|
Enables the extension system. Defaults to on.
|
||||||
|
|
||||||
.SS DATES
|
.SS DATES
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
@@ -330,18 +483,22 @@ the 'history' report, for example, or 'export'.
|
|||||||
.TP
|
.TP
|
||||||
.B dateformat.holiday=YMD
|
.B dateformat.holiday=YMD
|
||||||
.TP
|
.TP
|
||||||
|
.B dateformat.edit=m/d/Y H:N:S
|
||||||
|
.TP
|
||||||
|
.B dateformat.info=m/d/Y H:N:S
|
||||||
|
.TP
|
||||||
.B dateformat.annotation=m/d/Y
|
.B dateformat.annotation=m/d/Y
|
||||||
.TP
|
.TP
|
||||||
.B report.X.dateformat=m/d/Y
|
.B report.X.dateformat=m/d/Y
|
||||||
This is a string of characters that define how taskwarrior formats date values.
|
This is a string of characters that defines how taskwarrior formats date values.
|
||||||
The precedence order for the configuration variable is report.X.dateformat then
|
The precedence order for the configuration variable is report.X.dateformat then
|
||||||
dateformat.report then dateformat. While report.X.dateformat only formats the
|
dateformat.report then dateformat for formating the due dates in reports.
|
||||||
due date in reports, dateformat.report formats the due date both in reports
|
If both report.X.dateformat and dateformat.report are not set then dateformat
|
||||||
and "task info". If both of these are not set then dateformat will be applied
|
will be applied
|
||||||
to the due date. Entered dates as well as all other displayed dates in reports
|
to the date. Entered dates as well as all other displayed dates in reports
|
||||||
are formatted according to dateformat.
|
are formatted according to dateformat.
|
||||||
|
|
||||||
The default value is: m/d/Y. The string should contain the characters:
|
The default value is: m/d/Y. The string can contain the characters:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
.RS
|
.RS
|
||||||
@@ -349,13 +506,13 @@ m minimal-digit month, for example 1 or 12
|
|||||||
.br
|
.br
|
||||||
d minimal-digit day, for example 1 or 30
|
d minimal-digit day, for example 1 or 30
|
||||||
.br
|
.br
|
||||||
y two-digit year, for example 09
|
y two-digit year, for example 09 or 12
|
||||||
.br
|
.br
|
||||||
D two-digit day, for example 01 or 30
|
D two-digit day, for example 01 or 30
|
||||||
.br
|
.br
|
||||||
M two-digit month, for example 01 or 12
|
M two-digit month, for example 01 or 12
|
||||||
.br
|
.br
|
||||||
Y four-digit year, for example 2009
|
Y four-digit year, for example 2009 or 2013
|
||||||
.br
|
.br
|
||||||
a short name of weekday, for example Mon or Wed
|
a short name of weekday, for example Mon or Wed
|
||||||
.br
|
.br
|
||||||
@@ -365,9 +522,17 @@ b short name of month, for example Jan or Aug
|
|||||||
.br
|
.br
|
||||||
B long name of month, for example January or August
|
B long name of month, for example January or August
|
||||||
.br
|
.br
|
||||||
V weeknumber, for example 03 or 37
|
v minimal-digit week, for example 3 or 37
|
||||||
.br
|
.br
|
||||||
H two-digit hour, for example 03 or 11
|
V two-digit week, for example 03 or 37
|
||||||
|
.br
|
||||||
|
h minimal-digit hour, for example 3 or 21
|
||||||
|
.br
|
||||||
|
n minimal-digit minutes, for example 5 or 42
|
||||||
|
.br
|
||||||
|
s minimal-digit seconds, for example 7 or 47
|
||||||
|
.br
|
||||||
|
H two-digit hour, for example 03 or 21
|
||||||
.br
|
.br
|
||||||
N two-digit minutes, for example 05 or 42
|
N two-digit minutes, for example 05 or 42
|
||||||
.br
|
.br
|
||||||
@@ -375,6 +540,11 @@ S two-digit seconds, for example 07 or 47
|
|||||||
.RE
|
.RE
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
.RS
|
||||||
|
The characters 'v', 'V', 'a' and 'A' can only be used for formatting printed
|
||||||
|
dates (not to parse them).
|
||||||
|
.RE
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
The string may also contain other characters to act as spacers, or formatting.
|
The string may also contain other characters to act as spacers, or formatting.
|
||||||
Examples for other values of dateformat:
|
Examples for other values of dateformat:
|
||||||
@@ -398,11 +568,33 @@ Examples for other values of dateformat.report:
|
|||||||
.RS
|
.RS
|
||||||
.RS
|
.RS
|
||||||
.br
|
.br
|
||||||
a D b Y (V) would do an output as "Fri 24 Jul 2009 (30)"
|
a D b Y (V) would do an output as "Fri 24 Jul 2009 (30)"
|
||||||
.br
|
.br
|
||||||
A, B D, Y would do an output as "Friday, July 24, 2009"
|
A, B D, Y would do an output as "Friday, July 24, 2009"
|
||||||
.br
|
.br
|
||||||
vV a Y-M-D would do an output as "v30 Fri 2009-07-24"
|
wV a Y-M-D would do an output as "w30 Fri 2009-07-24"
|
||||||
|
.br
|
||||||
|
yMD.HN would do an output as "110124.2342"
|
||||||
|
.br
|
||||||
|
m/d/Y H:N would do an output as "1/24/2011 10:42"
|
||||||
|
.br
|
||||||
|
a D b Y H:N:S would do an output as "Mon 24 Jan 2011 11:19:42"
|
||||||
|
.RE
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.RS
|
||||||
|
Undefined fields are put to their minimal valid values (1 for month and day and
|
||||||
|
0 for hour, minutes and seconds) when there is at least one more global date
|
||||||
|
field that is set. Otherwise, they are set to the corresponding values of
|
||||||
|
"now". For example:
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.RS
|
||||||
|
.RS
|
||||||
|
.br
|
||||||
|
8/1/2013 with m/d/Y implies August 1, 2013 at midnight (inferred)
|
||||||
|
.br
|
||||||
|
8/1 20:40 with m/d H:N implies August 1, 2013 (inferred) at 20:40
|
||||||
.RE
|
.RE
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@@ -433,9 +625,19 @@ is "sparse".
|
|||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B calendar.details.report=list
|
.B calendar.details.report=list
|
||||||
The report to run when displaying the details of tasks with due date when
|
The report to run when displaying the details of tasks with due dates when
|
||||||
running the "task calendar" command. The default value is "list".
|
running the "task calendar" command. The default value is "list".
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B calendar.offset=off
|
||||||
|
If "on" the first month in the calendar report is effectively changed by the
|
||||||
|
offset value specified in calendar.offset.value. It defaults to "off".
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B calendar.offset.value=-1
|
||||||
|
The offset value to apply to the first month in the calendar report. The default
|
||||||
|
value is "-1".
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B calendar.holidays=full
|
.B calendar.holidays=full
|
||||||
If set to full running "task calendar" will display holidays in the calendar by
|
If set to full running "task calendar" will display holidays in the calendar by
|
||||||
@@ -444,23 +646,34 @@ of the holidays is also shown. If set to sparse only the days are color-coded
|
|||||||
and no details on the holidays will be displayed. The displaying of holidays is
|
and no details on the holidays will be displayed. The displaying of holidays is
|
||||||
turned off by setting the variable to none. The default value is "none".
|
turned off by setting the variable to none. The default value is "none".
|
||||||
|
|
||||||
.SS Journal entries
|
.TP
|
||||||
|
.B calendar.legend=yes
|
||||||
|
Determines whether the calendar legend is displayed. The default value is "yes".
|
||||||
|
|
||||||
|
.SS JOURNAL ENTRIES
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B journal.time=no
|
.B journal.time=no
|
||||||
May be yes or no, and determines whether the 'start' and 'stop' commands should
|
May be yes or no, and determines whether the 'start' and 'stop' commands should
|
||||||
record an annotation when being executed. The default value is "no". The text of
|
record an annotation when being executed. The default value is "no". The text of
|
||||||
the corresponding annotations is controlled by
|
the corresponding annotations is controlled by:
|
||||||
|
|
||||||
.TP journal.time.start.annotation=Started task
|
.TP
|
||||||
|
.B journal.time.start.annotation=Started task
|
||||||
The text of the annotation that is recorded when executing the start command and
|
The text of the annotation that is recorded when executing the start command and
|
||||||
having set journal.time.
|
having set journal.time.
|
||||||
|
|
||||||
.TP journal.time.stop.annotation=Stopped task
|
.TP
|
||||||
|
.B journal.time.stop.annotation=Stopped task
|
||||||
The text of the annotation that is recorded when executing the stop command and
|
The text of the annotation that is recorded when executing the stop command and
|
||||||
having set journal.time.
|
having set journal.time.
|
||||||
|
|
||||||
.SS Holidays
|
.TP
|
||||||
|
.B journal.info=on
|
||||||
|
When enabled, this setting causes a change log of each task to be displayed by
|
||||||
|
the 'info' command. Default value is "on".
|
||||||
|
|
||||||
|
.SS HOLIDAYS
|
||||||
Holidays are entered either directly in the .taskrc file or via an include file
|
Holidays are entered either directly in the .taskrc file or via an include file
|
||||||
that is specified in .taskrc. For each holiday the name and the date is
|
that is specified in .taskrc. For each holiday the name and the date is
|
||||||
required to be given:
|
required to be given:
|
||||||
@@ -504,7 +717,7 @@ be included like this:
|
|||||||
.RS
|
.RS
|
||||||
.RS
|
.RS
|
||||||
.br
|
.br
|
||||||
include /usr/local/share/doc/task/rc/holidays-US.rc
|
include /usr/local/share/doc/task/rc/holidays.en-US.rc
|
||||||
.RE
|
.RE
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@@ -521,7 +734,7 @@ specified, taskwarrior will only show as many that will fit.
|
|||||||
Determines whether dependency chain violations generate reminders.
|
Determines whether dependency chain violations generate reminders.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B dependency.confirm=yes
|
.B dependency.confirmation=yes
|
||||||
Determines whether dependency chain repair requires confirmation.
|
Determines whether dependency chain repair requires confirmation.
|
||||||
|
|
||||||
.SS COLOR CONTROLS
|
.SS COLOR CONTROLS
|
||||||
@@ -559,6 +772,12 @@ Task is due today
|
|||||||
.B color.active
|
.B color.active
|
||||||
Task is started, therefore active.
|
Task is started, therefore active.
|
||||||
.br
|
.br
|
||||||
|
.B color.scheduled
|
||||||
|
Task is scheduled, therefore ready for work.
|
||||||
|
.br
|
||||||
|
.B color.blocking
|
||||||
|
Task is blocking another in a dependency.
|
||||||
|
.br
|
||||||
.B color.blocked
|
.B color.blocked
|
||||||
Task is blocked by a dependency.
|
Task is blocked by a dependency.
|
||||||
.br
|
.br
|
||||||
@@ -591,6 +810,12 @@ Task has priority L.
|
|||||||
.br
|
.br
|
||||||
.B color.pri.none
|
.B color.pri.none
|
||||||
Task has no priority.
|
Task has no priority.
|
||||||
|
.br
|
||||||
|
.B color.completed
|
||||||
|
Task is completed.
|
||||||
|
.br
|
||||||
|
.B color.deleted
|
||||||
|
Task is deleted.
|
||||||
.RE
|
.RE
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@@ -624,6 +849,16 @@ Colors any task assigned to project X.
|
|||||||
Colors any task where the description or any annotation contains X.
|
Colors any task where the description or any annotation contains X.
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B color.uda.X=on green
|
||||||
|
Colors any taks that has the user defined attribute X.
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B color.error=green
|
||||||
|
Colors any of the error messages.
|
||||||
|
.RE
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B color.header=green
|
.B color.header=green
|
||||||
Colors any of the messages printed prior to the report output.
|
Colors any of the messages printed prior to the report output.
|
||||||
@@ -679,6 +914,11 @@ Color of holidays in calendar.
|
|||||||
Color of weeknumbers in calendar.
|
Color of weeknumbers in calendar.
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B color.label=
|
||||||
|
Colors the report labels. Defaults to not use color.
|
||||||
|
.RE
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B color.alternate=on rgb253
|
.B color.alternate=on rgb253
|
||||||
Color of alternate tasks.
|
Color of alternate tasks.
|
||||||
@@ -701,6 +941,19 @@ Colors the bars on the ghistory report graphs. Defaults to red, green and
|
|||||||
yellow bars.
|
yellow bars.
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B color.burndown.pending=on red
|
||||||
|
.RE
|
||||||
|
.br
|
||||||
|
.B color.burndown.started=on yellow
|
||||||
|
.RE
|
||||||
|
.br
|
||||||
|
.B color.burndown.done=on green
|
||||||
|
.RS
|
||||||
|
Colors the bars on the burndown reports graphs. Defaults to red, green and
|
||||||
|
yellow bars.
|
||||||
|
.RE
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B color.undo.before=red
|
.B color.undo.before=red
|
||||||
.RE
|
.RE
|
||||||
@@ -724,14 +977,96 @@ Colors the output of the merge command.
|
|||||||
.RE
|
.RE
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B rule.precedence.color=overdue,tag,project,keyword,active,...
|
.B rule.precedence.color=due.today,active,blocking,blocked,overdue,due,scheduled,keyword.,project.,tag.,uda.,recurring,pri.,tagged,completed,deleted
|
||||||
.RS
|
.RS
|
||||||
This setting specifies the precedence of the color rules, from highest to
|
This setting specifies the precedence of the color rules, from highest to
|
||||||
lowest. Note that the prefix 'color.' is omitted (for brevity), and that any
|
lowest. Note that the prefix 'color.' is omitted (for brevity), and that any
|
||||||
wildcard values (color.tag.XXX) is shortened to 'tag', which places all specific
|
wildcard value (color.tag.XXX) is shortened to 'tag.', which places all
|
||||||
tag rules at the same precedence, again for brevity.
|
specific tag rules at the same precedence, again for brevity.
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B color.debug=green
|
||||||
|
.RS
|
||||||
|
Colors all debug output, if enabled.
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.SS URGENCY
|
||||||
|
|
||||||
|
The urgency calculation uses a polynomial with several terms, each of which
|
||||||
|
has a configurable coefficient. Those coefficients are:
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B urgency.next.coefficient=15.0
|
||||||
|
.RS
|
||||||
|
Urgency coefficient for 'next' special tag
|
||||||
|
.RE
|
||||||
|
.B urgency.blocking.coefficient=8.0
|
||||||
|
.RS
|
||||||
|
Urgency coefficient for blocking tasks
|
||||||
|
.RE
|
||||||
|
.B urgency.blocked.coefficient=-5.0
|
||||||
|
.RS
|
||||||
|
Urgency coefficient for blocked tasks
|
||||||
|
.RE
|
||||||
|
.B urgency.due.coefficient=12.0
|
||||||
|
.RS
|
||||||
|
Urgency coefficient for due dates
|
||||||
|
.RE
|
||||||
|
.B urgency.priority.coefficient=6.0
|
||||||
|
.RS
|
||||||
|
Urgency coefficient for priorities
|
||||||
|
.RE
|
||||||
|
.B urgency.waiting.coefficient=-3.0
|
||||||
|
.RS
|
||||||
|
Urgency coefficient for waiting status
|
||||||
|
.RE
|
||||||
|
.B urgency.active.coefficient=4.0
|
||||||
|
.RS
|
||||||
|
Urgency coefficient for active tasks
|
||||||
|
.RE
|
||||||
|
.B urgency.scheduled.coefficient=5.0
|
||||||
|
.RS
|
||||||
|
Urgency coefficient for scheduled tasks
|
||||||
|
.RE
|
||||||
|
.B urgency.project.coefficient=1.0
|
||||||
|
.RS
|
||||||
|
Urgency coefficient for projects
|
||||||
|
.RE
|
||||||
|
.B urgency.tags.coefficient=1.0
|
||||||
|
.RS
|
||||||
|
Urgency coefficient for tags
|
||||||
|
.RE
|
||||||
|
.B urgency.annotations.coefficient=1.0
|
||||||
|
.RS
|
||||||
|
Urgency coefficient for annotations
|
||||||
|
.RE
|
||||||
|
.B urgency.age.coefficient=2.0
|
||||||
|
.RS
|
||||||
|
Urgency coefficient for the age of tasks
|
||||||
|
.RE
|
||||||
|
.B urgency.age.max=365
|
||||||
|
.RS
|
||||||
|
Maximum age in days. After this number of days has elapsed, the urgency of a task won't increase any more because of aging.
|
||||||
|
.RE
|
||||||
|
.B urgency.user.tag.<tag>.coefficient=...
|
||||||
|
.RS
|
||||||
|
Specific tag coefficient.
|
||||||
|
.RE
|
||||||
|
.B urgency.user.project.<project>.coefficient=...
|
||||||
|
.RS
|
||||||
|
Specific project coefficient.
|
||||||
|
.B urgency.uda.<name>.coefficient=...
|
||||||
|
.RS
|
||||||
|
Presence/absence of UDA data.
|
||||||
|
.RE
|
||||||
|
|
||||||
|
The coefficients reflect the relative importance of the various terms in the
|
||||||
|
urgency calculation. These are default values, and may be modified to suit your
|
||||||
|
preferences, but it is important that you carefully consider any modifications.
|
||||||
|
See the original RFC-31 for complete details at:
|
||||||
|
http://tasktools.org/gitweb/gitweb.cgi?p=rfc.git;a=blob_plain;f=rfc31-urgency.txt;hb=HEAD
|
||||||
|
|
||||||
.SS SHADOW FILE
|
.SS SHADOW FILE
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
@@ -759,6 +1094,31 @@ shadow.notify=on
|
|||||||
When this value is set to "on", taskwarrior will display a message whenever the
|
When this value is set to "on", taskwarrior will display a message whenever the
|
||||||
shadow file is updated by some task command.
|
shadow file is updated by some task command.
|
||||||
|
|
||||||
|
.SS PUSH/PULL/MERGE
|
||||||
|
|
||||||
|
See the 'man task-synch' page for more details regarding usage.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B merge.autopush=yes|no|ask
|
||||||
|
.RS
|
||||||
|
Determines post-merge behavior regarding automatic push.
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.B merge.default.uri
|
||||||
|
.RS
|
||||||
|
Default merge URI.
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.B pull.default.uri
|
||||||
|
.RS
|
||||||
|
Default pull URI.
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.B push.default.uri
|
||||||
|
.RS
|
||||||
|
Default push URI.
|
||||||
|
.RE
|
||||||
|
|
||||||
.SS DEFAULTS
|
.SS DEFAULTS
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
@@ -777,18 +1137,25 @@ command, if you don't specify one. The default is blank.
|
|||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B
|
.B
|
||||||
default.command=list
|
default.due=...
|
||||||
|
Provides a default due date for the
|
||||||
|
.I task add
|
||||||
|
command, if you don't specify one. The default is blank.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B
|
||||||
|
default.command=next
|
||||||
Provides a default command that is run every time taskwarrior is invoked with no
|
Provides a default command that is run every time taskwarrior is invoked with no
|
||||||
arguments. For example, if set to:
|
arguments. For example, if set to:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
.RS
|
.RS
|
||||||
default.command=list project:foo
|
default.command=project:foo list
|
||||||
.RE
|
.RE
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
then taskwarrior will run the "list project:foo" command if no command is
|
then taskwarrior will run the "project:foo list" command if no command is
|
||||||
specified. This means that by merely typing
|
specified. This means that by merely typing
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
@@ -796,7 +1163,7 @@ specified. This means that by merely typing
|
|||||||
.RS
|
.RS
|
||||||
$ task
|
$ task
|
||||||
.br
|
.br
|
||||||
[task list project:foo]
|
[task project:foo list]
|
||||||
.br
|
.br
|
||||||
\&
|
\&
|
||||||
.br
|
.br
|
||||||
@@ -823,10 +1190,10 @@ The description for report X when running the "task help" command.
|
|||||||
.TP
|
.TP
|
||||||
.B report.X.columns
|
.B report.X.columns
|
||||||
The columns that will be used when generating the report X. Valid columns are:
|
The columns that will be used when generating the report X. Valid columns are:
|
||||||
id, uuid, project, priority, priority_long, entry, start, end, due, countdown,
|
id, uuid, status, project, priority, priority_long, entry, start, end, due,
|
||||||
countdown_compact, age, age_compact, active, tags, depends, description_only,
|
countdown, countdown_compact, age, age_compact, active, tags, depends,
|
||||||
description, recur, recurrence_indicator, tag_indicator and wait.
|
description_only, description, recur, recurrence_indicator, tag_indicator and
|
||||||
The IDs are separated by commas.
|
wait. The IDs are separated by commas.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B report.X.labels
|
.B report.X.labels
|
||||||
@@ -860,20 +1227,23 @@ section for details on the sequence placeholders.
|
|||||||
This adds the possibility to control the output of annotations for a task in a
|
This adds the possibility to control the output of annotations for a task in a
|
||||||
report. See the
|
report. See the
|
||||||
.B annotations
|
.B annotations
|
||||||
variable for details on the possible values.
|
variable for details on the possible values. Deprecated.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B report.X.limit
|
.B report.X.limit
|
||||||
An optional value to a report limiting the number of displayed tasks in the
|
An optional value to a report limiting the number of displayed tasks in the
|
||||||
generated report.
|
generated report. Deprecated.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
Taskwarrior comes with a number of predefined reports in its default
|
Taskwarrior comes with a number of predefined reports, which are:
|
||||||
configuration file. These reports are:
|
|
||||||
|
.TP
|
||||||
|
.B next
|
||||||
|
Lists the most important tasks.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B long
|
.B long
|
||||||
Lists all task, all data, matching the specified criteria.
|
Lists all pending tasks and all data, matching the specified criteria.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B list
|
.B list
|
||||||
@@ -920,18 +1290,69 @@ Lists all waiting tasks matching the specified criteria.
|
|||||||
Lists all tasks matching the specified criteria.
|
Lists all tasks matching the specified criteria.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B next
|
.B blocked
|
||||||
Lists all tasks with upcoming due dates matching the specified criteria.
|
Lists all tasks that have dependencies.
|
||||||
|
|
||||||
|
.SS USER DEFINED ATTRIBUTES
|
||||||
|
|
||||||
|
User defined attributes (UDAs) are an extension mechanism that allows you to
|
||||||
|
define new attributes for Taskwarrior to store and display. One such example is
|
||||||
|
an 'estimate' attribute that could be used to store time estimates associated
|
||||||
|
with a task. This 'estimate' attribute is not built in to Taskwarrior, but with
|
||||||
|
a few simple configuration settings you can instruct Taskwarrior to store this
|
||||||
|
item, and provide access to it for custom reports and filters.
|
||||||
|
|
||||||
|
This allows you to augment Taskwarrior to accommodate your workflow, or bend the
|
||||||
|
rules and use Taskwarrior to store and synch data that is not necessarily
|
||||||
|
task-related.
|
||||||
|
|
||||||
|
One important restriction is that because this is an open system that allows
|
||||||
|
the definition of any new attribute, Taskwarrior cannot understand the meaning
|
||||||
|
of that attribute. So while Taskwarrior will faithfully store, modify, report,
|
||||||
|
sort and filter your UDA, it does not understand anything about it. For example
|
||||||
|
if you define a UDA named 'estimate', Taskwarrior will not know that this value
|
||||||
|
is weeks, hours, minutes, money, or some other resource count.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B uda.<name>.type=string|numeric|date|duration
|
||||||
|
.RS
|
||||||
|
Defines a UDA called '<name>', of the specified type.
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B uda.<name>.label=<column heading>
|
||||||
|
.RS
|
||||||
|
Provides a default report label for the UDA called '<name>'.
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B uda.<name>.values=A,B,C
|
||||||
|
.RS
|
||||||
|
For type 'string' UDAs only, this provides a comma-separated list of acceptable
|
||||||
|
values. In this example, the '<name>' UDA may only contain values 'A', 'B',
|
||||||
|
or 'C', but may also contain no value.
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B Example 'estimate' UDA
|
||||||
|
This example shows an 'estimate' UDA that stores specific values for the size
|
||||||
|
of a task.
|
||||||
|
|
||||||
|
.RS
|
||||||
|
.B uda.estimate.type=string
|
||||||
|
.br
|
||||||
|
.B uda.estimate.label=Size Estimate
|
||||||
|
.br
|
||||||
|
.B uda.estimate.values=trivial,small,medium,large,huge
|
||||||
|
.RE
|
||||||
|
|
||||||
.SH "CREDITS & COPYRIGHTS"
|
.SH "CREDITS & COPYRIGHTS"
|
||||||
Taskwarrior was written by P. Beckingham <paul@beckingham.net>.
|
Copyright (C) 2006 \- 2013 P. Beckingham, F. Hernandez.
|
||||||
.br
|
|
||||||
Copyright (C) 2006 \- 2010 P. Beckingham
|
|
||||||
|
|
||||||
This man page was originally written by Federico Hernandez.
|
This man page was originally written by Federico Hernandez.
|
||||||
|
|
||||||
Taskwarrior is distributed under the GNU General Public License. See
|
Taskwarrior is distributed under the MIT license. See
|
||||||
http://www.gnu.org/licenses/gpl-2.0.txt for more information.
|
http://www.opensource.org/licenses/mit-license.php for more information.
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR task(1),
|
.BR task(1),
|
||||||
@@ -940,7 +1361,7 @@ http://www.gnu.org/licenses/gpl-2.0.txt for more information.
|
|||||||
.BR task-color(5),
|
.BR task-color(5),
|
||||||
.BR task-sync(5)
|
.BR task-sync(5)
|
||||||
|
|
||||||
For more information regarding taskwarrior, the following may be referenced:
|
For more information regarding taskwarrior, see the following:
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
The official site at
|
The official site at
|
||||||
@@ -951,10 +1372,11 @@ The official code repository at
|
|||||||
<git://tasktools.org/task.git/>
|
<git://tasktools.org/task.git/>
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
You can contact the project by writing an email to
|
You can contact the project by emailing
|
||||||
<support@taskwarrior.org>
|
<support@taskwarrior.org>
|
||||||
|
|
||||||
.SH REPORTING BUGS
|
.SH REPORTING BUGS
|
||||||
.TP
|
.TP
|
||||||
Bugs in taskwarrior may be reported to the issue-tracker at
|
Bugs in taskwarrior may be reported to the issue-tracker at
|
||||||
<http://taskwarrior.org>
|
<http://taskwarrior.org>
|
||||||
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
|
|
||||||
# This is a full BNF grammar for the taskwarrior command line. It is intended
|
|
||||||
# that a future release of taskwarrior will incorporate a complete lexer/parser
|
|
||||||
# implementing this grammar, which will allow for more sophisticated command
|
|
||||||
# lines, for example:
|
|
||||||
#
|
|
||||||
# task delete 1 2 4-7
|
|
||||||
# task add pri:H pro:X -- pro pri 1 ///
|
|
||||||
#
|
|
||||||
|
|
||||||
command ::= simple_command
|
|
||||||
| filter_command filter?
|
|
||||||
| id_command
|
|
||||||
| "export" file
|
|
||||||
| <id>
|
|
||||||
| <id> <substitution> ;
|
|
||||||
|
|
||||||
simple_command ::= "version" | "help" | "projects" | "tags" | "next" | "stats"
|
|
||||||
| "color" ;
|
|
||||||
|
|
||||||
filter_command ::= "summary" | "history" | "calendar" | "active" | "overdue"
|
|
||||||
| "oldest" | "newest" | "add" | "list" | "long" | "ls"
|
|
||||||
| "completed" ;
|
|
||||||
|
|
||||||
id_command ::= "delete" | "undelete" | "info" | "start" | "end" | "done"
|
|
||||||
| "undo" ;
|
|
||||||
|
|
||||||
filter ::= filter_part+ ;
|
|
||||||
|
|
||||||
filter_part ::= tag_add | tag_remove | attribute | word ;
|
|
||||||
|
|
||||||
tag_add ::= "+" word ;
|
|
||||||
tag_remove ::= "-" word ;
|
|
||||||
attribute ::= word ":" word ;
|
|
||||||
word ::=
|
|
||||||
file ::=
|
|
||||||
id ::= digit+ ;
|
|
||||||
digit ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;
|
|
||||||
substitution ::= "/" word+ "/" word* "/" "g"? ;
|
|
||||||
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'defaultwidth=120' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/dark-violets-256.theme' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
|
||||||
echo 'color.alternate=' >> x
|
|
||||||
|
|
||||||
echo 'report.list.columns=id,project,priority_long,start,due,recur,age_compact,tags,description' >> x
|
|
||||||
echo 'report.list.labels=ID,Project,Pri,Started,Due,Recur,Age,Tags,Description' >> x
|
|
||||||
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
|
||||||
|
|
||||||
# Import tasks with old timestamps
|
|
||||||
cat <<EOF >file.yaml
|
|
||||||
%YAML 1.1
|
|
||||||
---
|
|
||||||
task:
|
|
||||||
description: Try out the color themes
|
|
||||||
entry: 1281914800
|
|
||||||
start: 1282044800
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 13afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Visit http://taskwarrior.org
|
|
||||||
entry: 1281089630
|
|
||||||
tags: www
|
|
||||||
priority: H
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Review task list
|
|
||||||
entry: 1281289630
|
|
||||||
due: 1282844800
|
|
||||||
recur: weekly
|
|
||||||
project: gtd
|
|
||||||
status: pending
|
|
||||||
uuid: 33afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Try out latest FireFox beta
|
|
||||||
entry: 1281289630
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 43afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
...
|
|
||||||
EOF
|
|
||||||
|
|
||||||
printf "y\n" | task rc:x import file.yaml
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
echo
|
|
||||||
echo '$ task calendar sep 2010'
|
|
||||||
task rc:x calendar sep 2010
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task calendar'
|
|
||||||
task rc:x calendar
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task overdue'
|
|
||||||
task rc:x 2 done
|
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'defaultwidth=120' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/dark-violets-256.theme' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
|
||||||
echo 'color.alternate=' >> x
|
|
||||||
|
|
||||||
echo 'report.list.columns=id,project,priority_long,start,due,recur,age_compact,tags,description' >> x
|
|
||||||
echo 'report.list.labels=ID,Project,Pri,Started,Due,Recur,Age,Tags,Description' >> x
|
|
||||||
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
|
||||||
|
|
||||||
# Import tasks with old timestamps
|
|
||||||
cat <<EOF >file.yaml
|
|
||||||
%YAML 1.1
|
|
||||||
---
|
|
||||||
task:
|
|
||||||
description: Try out the color themes
|
|
||||||
entry: 1281914800
|
|
||||||
start: 1282044800
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 13afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Visit http://taskwarrior.org
|
|
||||||
entry: 1281089630
|
|
||||||
tags: www
|
|
||||||
priority: H
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Review task list
|
|
||||||
entry: 1281289630
|
|
||||||
due: 1282844800
|
|
||||||
recur: weekly
|
|
||||||
project: gtd
|
|
||||||
status: pending
|
|
||||||
uuid: 33afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Try out latest FireFox beta
|
|
||||||
entry: 1281289630
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 43afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
...
|
|
||||||
EOF
|
|
||||||
|
|
||||||
printf "y\n" | task rc:x import file.yaml
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
echo
|
|
||||||
echo '$ task calendar sep 2010'
|
|
||||||
task rc:x calendar sep 2010
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task calendar'
|
|
||||||
task rc:x calendar
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task overdue'
|
|
||||||
task rc:x 2 done
|
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
@@ -1,74 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'defaultwidth=120' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
|
||||||
echo 'color.alternate=' >> x
|
|
||||||
|
|
||||||
echo 'report.list.columns=id,project,priority_long,start,due,recur,age_compact,tags,description' >> x
|
|
||||||
echo 'report.list.labels=ID,Project,Pri,Started,Due,Recur,Age,Tags,Description' >> x
|
|
||||||
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
|
||||||
|
|
||||||
# Import tasks with old timestamps
|
|
||||||
cat <<EOF >file.yaml
|
|
||||||
%YAML 1.1
|
|
||||||
---
|
|
||||||
task:
|
|
||||||
description: Try out the color themes
|
|
||||||
entry: 1281914800
|
|
||||||
start: 1282044800
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 13afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Visit http://taskwarrior.org
|
|
||||||
entry: 1281089630
|
|
||||||
tags: www
|
|
||||||
priority: H
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Review task list
|
|
||||||
entry: 1281289630
|
|
||||||
due: 1282844800
|
|
||||||
recur: weekly
|
|
||||||
project: gtd
|
|
||||||
status: pending
|
|
||||||
uuid: 33afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Try out latest FireFox beta
|
|
||||||
entry: 1281289630
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 43afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
...
|
|
||||||
EOF
|
|
||||||
|
|
||||||
printf "y\n" | task rc:x import file.yaml
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
echo
|
|
||||||
echo '$ task 1 annotate Try the blue one first'
|
|
||||||
task rc:x 1 annotate Try the blue one first
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task list'
|
|
||||||
task rc:x list
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task list due.before:eow'
|
|
||||||
task rc:x list due.before:eow
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task 2 done'
|
|
||||||
task rc:x 2 done
|
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'defaultwidth=120' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/dark-violets-256.theme' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
|
||||||
echo 'color.alternate=' >> x
|
|
||||||
|
|
||||||
echo 'report.list.columns=id,project,priority_long,start,due,recur,age_compact,tags,description' >> x
|
|
||||||
echo 'report.list.labels=ID,Project,Pri,Started,Due,Recur,Age,Tags,Description' >> x
|
|
||||||
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
|
||||||
|
|
||||||
# Import tasks with old timestamps
|
|
||||||
cat <<EOF >file.yaml
|
|
||||||
%YAML 1.1
|
|
||||||
---
|
|
||||||
task:
|
|
||||||
description: Try out the color themes
|
|
||||||
entry: 1281914800
|
|
||||||
start: 1282044800
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 13afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Visit http://taskwarrior.org
|
|
||||||
entry: 1281089630
|
|
||||||
tags: www
|
|
||||||
priority: H
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Review task list
|
|
||||||
entry: 1281289630
|
|
||||||
due: 1282844800
|
|
||||||
recur: weekly
|
|
||||||
project: gtd
|
|
||||||
status: pending
|
|
||||||
uuid: 33afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Try out latest FireFox beta
|
|
||||||
entry: 1281289630
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 43afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
...
|
|
||||||
EOF
|
|
||||||
|
|
||||||
printf "y\n" | task rc:x import file.yaml
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
echo
|
|
||||||
echo '$ task calendar sep 2010'
|
|
||||||
task rc:x calendar sep 2010
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task calendar'
|
|
||||||
task rc:x calendar
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task overdue'
|
|
||||||
task rc:x 2 done
|
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/dark-green-256.theme' >> x
|
|
||||||
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
echo
|
|
||||||
echo '$ task color'
|
|
||||||
task rc:x color
|
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'defaultwidth=120' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/dark-violets-256.theme' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
|
||||||
echo 'color.alternate=' >> x
|
|
||||||
|
|
||||||
echo 'report.list.columns=id,project,priority_long,start,due,recur,age_compact,tags,description' >> x
|
|
||||||
echo 'report.list.labels=ID,Project,Pri,Started,Due,Recur,Age,Tags,Description' >> x
|
|
||||||
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo $ task add project:Cake Mix the ingredients
|
|
||||||
task rc:x add project:Cake Mix the ingredients
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo $ task add project:Cake Bake the cake depends:1
|
|
||||||
task rc:x add project:Cake Bake the cake depends:1
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo $ task add project:Cake Eat the cake depends:2
|
|
||||||
task rc:x add project:Cake Eat the cake depends:2
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo $ task 2 info
|
|
||||||
task rc:x 2 info
|
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'defaultwidth=95' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/dark-256.theme' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
|
||||||
echo 'color.alternate=' >> x
|
|
||||||
echo 'due=6' >> x
|
|
||||||
echo 'dateformat=YMD-H:N' >> x
|
|
||||||
echo 'dateformat.report=YMD-H:N' >> x
|
|
||||||
echo 'color.due=rgb530' >> x
|
|
||||||
|
|
||||||
echo 'report.list.columns=id,project,priority_long,due,recur,description' >> x
|
|
||||||
echo 'report.list.labels=ID,Pro,Pri,Due,Recur,Description' >> x
|
|
||||||
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
echo
|
|
||||||
echo '$ task config rc.dateformat YMD-H:N'
|
|
||||||
echo "Are you sure you want to add 'dateformat' with a value of 'YMD-H:N'? (y/n) y"
|
|
||||||
echo 'Config file .taskrc modified.'
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task add Spa appointment due:20100917-11:30'
|
|
||||||
task rc:x add Lunch with Sue due:20100917-11:30
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task list'
|
|
||||||
task rc:x list
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task list rc.dateformat.report=m-d-Y'
|
|
||||||
task rc:x list rc.dateformat.report=m-d-Y
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task list rc.dateformat.report=YMDHNS'
|
|
||||||
task rc:x list rc.dateformat.report=YMDHNS
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task list rc.dateformat.report="A, B D, Y (wkV)"'
|
|
||||||
task rc:x list rc.dateformat.report="A, B D, Y (wkV)"
|
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'defaultwidth=120' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/dark-violets-256.theme' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
|
||||||
echo 'color.alternate=' >> x
|
|
||||||
|
|
||||||
echo 'report.list.columns=id,project,priority_long,start,due,recur,age_compact,tags,description' >> x
|
|
||||||
echo 'report.list.labels=ID,Project,Pri,Started,Due,Recur,Age,Tags,Description' >> x
|
|
||||||
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
|
||||||
|
|
||||||
# Import tasks with old timestamps
|
|
||||||
cat <<EOF >file.yaml
|
|
||||||
%YAML 1.1
|
|
||||||
---
|
|
||||||
task:
|
|
||||||
description: Try out the color themes
|
|
||||||
entry: 1281914800
|
|
||||||
start: 1282044800
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 13afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Visit http://taskwarrior.org
|
|
||||||
entry: 1281089630
|
|
||||||
tags: www
|
|
||||||
priority: H
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Review task list
|
|
||||||
entry: 1281289630
|
|
||||||
due: 1282844800
|
|
||||||
recur: weekly
|
|
||||||
project: gtd
|
|
||||||
status: pending
|
|
||||||
uuid: 33afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Try out latest FireFox beta
|
|
||||||
entry: 1281289630
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 43afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
...
|
|
||||||
EOF
|
|
||||||
|
|
||||||
printf "y\n" | task rc:x import file.yaml
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
echo
|
|
||||||
echo '$ task calendar sep 2010'
|
|
||||||
task rc:x calendar sep 2010
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task calendar'
|
|
||||||
task rc:x calendar
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task overdue'
|
|
||||||
task rc:x 2 done
|
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'defaultwidth=95' >> x
|
|
||||||
echo 'monthsperline=3' >> x
|
|
||||||
echo 'calendar.details.report=list' >> x
|
|
||||||
echo 'calendar.details=full' >> x
|
|
||||||
echo 'calendar.holidays=full' >> x
|
|
||||||
echo 'calendar.legend=yes' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/dark-green-256.theme' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
|
||||||
|
|
||||||
# Import tasks with old timestamps
|
|
||||||
cat <<EOF >file.yaml
|
|
||||||
%YAML 1.1
|
|
||||||
---
|
|
||||||
task:
|
|
||||||
description: Put some more sample screenshots on taskwarrior.org
|
|
||||||
entry: 1283593511
|
|
||||||
project: 1.9.3
|
|
||||||
status: pending
|
|
||||||
due: 1284647841
|
|
||||||
uuid: 89295b14-9e15-4771-9dd9-7e82cf8b67b5
|
|
||||||
annotation:
|
|
||||||
entry: 1283593519
|
|
||||||
description: Show the calendar with holidays
|
|
||||||
annotation:
|
|
||||||
entry: 1283693560
|
|
||||||
description: Show a task that is due
|
|
||||||
...
|
|
||||||
EOF
|
|
||||||
|
|
||||||
printf "y\n" | task rc:x import file.yaml
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
echo
|
|
||||||
echo '$ task calendar'
|
|
||||||
task rc:x calendar
|
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'defaultwidth=95' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/light-256.theme' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
|
||||||
echo 'color.alternate=on rgb253' >> x
|
|
||||||
echo 'due=6' >> x
|
|
||||||
echo 'color.due=color0' >> x
|
|
||||||
echo 'color.tagged=color0' >> x
|
|
||||||
|
|
||||||
echo 'report.list.columns=id,project,priority_long,due,recur,description' >> x
|
|
||||||
echo 'report.list.labels=ID,Pro,Pri,Due,Recur,Description' >> x
|
|
||||||
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
echo
|
|
||||||
echo '$ task add Get stationery supplies proj:office pri:H due:sat +@mall +@weekend'
|
|
||||||
task rc:x add Get stationery supplies proj:office pri:H due:sat +@mall +@weekend
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task annotate 1 Remember to get batteries'
|
|
||||||
task rc:x annotate 1 Remember to get batteries
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task annotate 1 I wonder if they have that antique fanfold computer paper'
|
|
||||||
task rc:x annotate 1 I wonder if they have that antique fanfold computer paper
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task 1 info'
|
|
||||||
task rc:x 1 info
|
|
||||||
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'defaultwidth=90' >> x
|
|
||||||
echo 'journal.time=yes' >> x
|
|
||||||
echo 'dateformat.annotation=Y/m/d H:N' >> x
|
|
||||||
#echo 'include /usr/local/share/doc/task/rc/dark-256.theme' >> x
|
|
||||||
#echo 'include /usr/local/share/doc/task/rc/dark-green-256.theme' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/dark-yellow-green.theme' >> x
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
echo
|
|
||||||
echo '$ task add Complete the client report due:friday +@work'
|
|
||||||
task rc:x add Complete the client report due:friday +@work
|
|
||||||
echo
|
|
||||||
echo '$ task config journal.time on'
|
|
||||||
echo "Are you sure you want to add 'journal.time' with a value of 'on'? (y/n) y"
|
|
||||||
echo 'Config file .taskrc modified.'
|
|
||||||
echo
|
|
||||||
echo '$ task start 1'
|
|
||||||
task rc:x start 1
|
|
||||||
echo
|
|
||||||
echo '(some work happens)'
|
|
||||||
sleep 2
|
|
||||||
echo
|
|
||||||
echo '$ task list'
|
|
||||||
task rc:x list
|
|
||||||
echo
|
|
||||||
echo '$ task stop 1'
|
|
||||||
task rc:x stop 1
|
|
||||||
echo
|
|
||||||
echo '$ task list'
|
|
||||||
task rc:x list
|
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'defaultwidth=95' >> x
|
|
||||||
echo 'monthsperline=3' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/dark-violets-256.theme' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
|
||||||
echo 'color.alternate=' >> x
|
|
||||||
echo 'due=3' >> x
|
|
||||||
|
|
||||||
echo 'report.list.columns=id,project,priority_long,start,due,recur,age_compact,description' >> x
|
|
||||||
echo 'report.list.labels=ID,Project,Pri,Started,Due,Recur,Age,Description' >> x
|
|
||||||
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
echo
|
|
||||||
echo '$ task add Deposit paycheck due:friday recur:14days +@bank'
|
|
||||||
task rc:x add Deposit paycheck due:friday recur:14days
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task calendar rc.recurrence.limit=6'
|
|
||||||
task rc:x calendar rc.recurrence.limit=6
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task list'
|
|
||||||
task rc:x list
|
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
@@ -1,74 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'defaultwidth=120' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/dark-red-256.theme' >> x
|
|
||||||
echo 'color.alternate=' >> x
|
|
||||||
|
|
||||||
echo 'report.list.columns=id,project,priority_long,start,due,recur,age_compact,tags,description' >> x
|
|
||||||
echo 'report.list.labels=ID,Project,Pri,Started,Due,Recur,Age,Tags,Description' >> x
|
|
||||||
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
|
||||||
|
|
||||||
# Import tasks with old timestamps
|
|
||||||
cat <<EOF >file.yaml
|
|
||||||
%YAML 1.1
|
|
||||||
---
|
|
||||||
task:
|
|
||||||
description: Try out the color themes
|
|
||||||
entry: 1281914800
|
|
||||||
start: 1282044800
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 13afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Visit http://taskwarrior.org
|
|
||||||
entry: 1281089630
|
|
||||||
tags: www
|
|
||||||
priority: H
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Review task list
|
|
||||||
entry: 1281289630
|
|
||||||
due: 1282844800
|
|
||||||
recur: weekly
|
|
||||||
project: gtd
|
|
||||||
status: pending
|
|
||||||
uuid: 33afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Try out latest FireFox beta
|
|
||||||
entry: 1281289630
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 43afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
...
|
|
||||||
EOF
|
|
||||||
|
|
||||||
printf "y\n" | task rc:x import file.yaml
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
echo
|
|
||||||
echo '$ task 1 annotate Try the red one next'
|
|
||||||
task rc:x 1 annotate Try the red one next
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task list'
|
|
||||||
task rc:x list
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task 2 done'
|
|
||||||
task rc:x 2 done
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task summary'
|
|
||||||
task rc:x summary
|
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'defaultwidth=120' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/dark-violets-256.theme' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
|
||||||
echo 'color.alternate=' >> x
|
|
||||||
|
|
||||||
echo 'report.list.columns=id,project,priority_long,start,due,recur,age_compact,tags,description' >> x
|
|
||||||
echo 'report.list.labels=ID,Project,Pri,Started,Due,Recur,Age,Tags,Description' >> x
|
|
||||||
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
|
||||||
|
|
||||||
# Import tasks with old timestamps
|
|
||||||
cat <<EOF >file.yaml
|
|
||||||
%YAML 1.1
|
|
||||||
---
|
|
||||||
task:
|
|
||||||
description: Try out the color themes
|
|
||||||
entry: 1281914800
|
|
||||||
start: 1282044800
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 13afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Visit http://taskwarrior.org
|
|
||||||
entry: 1281089630
|
|
||||||
tags: www
|
|
||||||
priority: H
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Review task list
|
|
||||||
entry: 1281289630
|
|
||||||
due: 1282844800
|
|
||||||
recur: weekly
|
|
||||||
project: gtd
|
|
||||||
status: pending
|
|
||||||
uuid: 33afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Try out latest FireFox beta
|
|
||||||
entry: 1281289630
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 43afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
...
|
|
||||||
EOF
|
|
||||||
|
|
||||||
printf "y\n" | task rc:x import file.yaml
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
echo
|
|
||||||
echo '$ task calendar sep 2010'
|
|
||||||
task rc:x calendar sep 2010
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task calendar'
|
|
||||||
task rc:x calendar
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo '$ task overdue'
|
|
||||||
task rc:x 2 done
|
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# Small script to create a fragment of output for display on the front page
|
|
||||||
# of taskwarrior.org, as a teaser.
|
|
||||||
|
|
||||||
rm pending.data completed.data undo.data
|
|
||||||
|
|
||||||
echo 'data.location=.' > x
|
|
||||||
echo '_forcecolor=on' >> x
|
|
||||||
echo 'defaultwidth=120' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/dark-violets-256.theme' >> x
|
|
||||||
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
|
||||||
echo 'color.alternate=' >> x
|
|
||||||
|
|
||||||
echo 'report.list.columns=id,project,priority_long,start,due,recur,age_compact,tags,description' >> x
|
|
||||||
echo 'report.list.labels=ID,Project,Pri,Started,Due,Recur,Age,Tags,Description' >> x
|
|
||||||
echo 'report.list.sort=due+,priority_long-,project+' >> x
|
|
||||||
|
|
||||||
# Import tasks with old timestamps
|
|
||||||
cat <<EOF >file.yaml
|
|
||||||
%YAML 1.1
|
|
||||||
---
|
|
||||||
task:
|
|
||||||
description: Try out the color themes
|
|
||||||
entry: 1281914800
|
|
||||||
start: 1282044800
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 13afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Visit http://taskwarrior.org
|
|
||||||
entry: 1281089630
|
|
||||||
tags: www
|
|
||||||
priority: H
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Review task list
|
|
||||||
entry: 1281289630
|
|
||||||
due: 1282844800
|
|
||||||
recur: weekly
|
|
||||||
project: gtd
|
|
||||||
status: pending
|
|
||||||
uuid: 33afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
task:
|
|
||||||
description: Try out latest FireFox beta
|
|
||||||
entry: 1281289630
|
|
||||||
project: software
|
|
||||||
status: pending
|
|
||||||
uuid: 43afada0-a446-8d5a-c213-30d99d52c4b0
|
|
||||||
...
|
|
||||||
EOF
|
|
||||||
|
|
||||||
printf "y\n" | task rc:x import file.yaml
|
|
||||||
|
|
||||||
# Now the visible part.
|
|
||||||
echo
|
|
||||||
echo '$ task timesheet 2'
|
|
||||||
task rc:x timesheet 2
|
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
@@ -1,534 +0,0 @@
|
|||||||
[Make window 116x32 for movie recording, light text, dark background]
|
|
||||||
|
|
||||||
This is the script from which a 1.9.3-specific movie will be made. On the left
|
|
||||||
are the typed commands, and on the right is the voice track.
|
|
||||||
|
|
||||||
It is intended that the left and right be combined and the result will be a new
|
|
||||||
task-tutorial.5 man page.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
---------------------------------------- Intro -----------------------------------------------------
|
|
||||||
|
|
||||||
http://taskwarrior.org Hello, and welcome to this taskwarrior version 1.9.3 demo.
|
|
||||||
I'm going to show you over 100 features, so don't blink, or
|
|
||||||
you'll miss some. Even experienced users are going to learn
|
|
||||||
*something*.
|
|
||||||
|
|
||||||
I will start off with basic usage, and proceed to more
|
|
||||||
sophisticated commands as we go along.
|
|
||||||
|
|
||||||
---------------------------------------- Basic Usage -----------------------------------------------
|
|
||||||
|
|
||||||
Let's get started. We're planning a party, and there is a
|
|
||||||
lot of work to do, so let's capture these tasks.
|
|
||||||
task add Select a free weekend in August First decide 'when'.
|
|
||||||
task add Select and book a venue Then decide 'where'.
|
|
||||||
task add Come up with a guest list Then decide 'who'.
|
|
||||||
task add Mail invitations Let's send out nice invitations.
|
|
||||||
task add Select a caterer And a caterer.
|
|
||||||
|
|
||||||
task list Let's take a look. Good.
|
|
||||||
|
|
||||||
task log Order a special cake Now I've already ordered a cake, so rather than 'add' this,
|
|
||||||
I'm going to 'log' it. This just means that I want to keep
|
|
||||||
track of the task, but I've already done it. It saves me a
|
|
||||||
step.
|
|
||||||
|
|
||||||
task 4 duplicate /Mail/Design/ As for those invitations, I'm going to need to design them
|
|
||||||
task 4 dup /Mail/Print/ first. And I'm also going to need print them. Here we are
|
|
||||||
task list duplicating a task and making a substitution. Notice how
|
|
||||||
the commands can be abbreviated, provided they are still
|
|
||||||
unique.
|
|
||||||
|
|
||||||
task 3 done That looks good - but now I think of it, I already have my
|
|
||||||
task list guest list, so I can mark that one as done.
|
|
||||||
|
|
||||||
And that's basic usage, and you already know enough to be
|
|
||||||
productive using taskwarrior. If you stopped here, you
|
|
||||||
would be perfectly able to manage your task list.
|
|
||||||
|
|
||||||
But if you want to see what it can really do, keep watching...
|
|
||||||
|
|
||||||
---------------------------------------- Projects --------------------------------------------------
|
|
||||||
|
|
||||||
task add Pay teh rent on teh 31st Remember to pay the rent at the end of the month. Oh,
|
|
||||||
task 7 /teh/teh/g that was sloppy, but it can be fixed with a global
|
|
||||||
task list substitution.
|
|
||||||
|
|
||||||
task 7 project:home We can now use projects to separate home chores from the
|
|
||||||
party preparation. Let's assign that last task to the
|
|
||||||
'home' project. Note that a task may only belong to one
|
|
||||||
project.
|
|
||||||
|
|
||||||
task 1-6 project:party And we will put those first six tasks in the 'party'
|
|
||||||
project. See how we specify a range of tasks? Taskwarrior
|
|
||||||
will want to confirm bulk changes like this, but we'll
|
|
||||||
accept all changes here.
|
|
||||||
|
|
||||||
task projects Now that we have multiple projects, as shown here, we can
|
|
||||||
task list project:home use project as a filter for the list report. You can see
|
|
||||||
task li pro:par again that we can abbreviate 'list' and 'project', but when
|
|
||||||
we abbreviate 'party', we are filtering all the projects
|
|
||||||
that begin with 'par'.
|
|
||||||
|
|
||||||
---------------------------------------- Priorities ------------------------------------------------
|
|
||||||
|
|
||||||
task 1-3,5 priority:H Priorities are another way to organize tasks. You can use
|
|
||||||
task list priority values of high, medium and low, and taskwarrior
|
|
||||||
knows these as H, M or L.
|
|
||||||
|
|
||||||
task 3 pri: You can remove priorities by specifying a blank value.
|
|
||||||
|
|
||||||
---------------------------------------- Tags ------------------------------------------------------
|
|
||||||
|
|
||||||
task list A task may only have one project, but it may have any number
|
|
||||||
of tags, which are just single words associated with the task.
|
|
||||||
|
|
||||||
task 3,5,6 +mall I can go to the print shop at the mall, and do all the
|
|
||||||
invitation tasks, so let's tag them all.
|
|
||||||
|
|
||||||
task long The long report shows tags, too,
|
|
||||||
|
|
||||||
task list +mall and I can use tags as a filter to any report too.
|
|
||||||
|
|
||||||
task 3 -mall I made a mistake - I can't mail out the invitations at the
|
|
||||||
mall, so let's remove that tag.
|
|
||||||
|
|
||||||
---------------------------------------- Modifications ---------------------------------------------
|
|
||||||
|
|
||||||
task 7 Pay rent at the end of the month Task 7 is not worded correctly, so I can modify that by
|
|
||||||
specifying a task ID and a new description. This is also
|
|
||||||
considered a bulk change, and so requires confirmation.
|
|
||||||
|
|
||||||
task add music We'll need music.
|
|
||||||
task 8 prepend Select some I can prepend to that.
|
|
||||||
task 8 append for after dinner I can append to that.
|
|
||||||
task list
|
|
||||||
|
|
||||||
task edit I can also go straight into an editor and modify anything.
|
|
||||||
|
|
||||||
task add Hire a band? <--- Sometimes the command will confuse the shell. In this case,
|
|
||||||
what would happen if there was a file named 'bands' in the
|
|
||||||
current directory? The shell would expand that wildcard,
|
|
||||||
so to avoid that, you can...
|
|
||||||
task add Hire a band\? <--- escape the wildcard...
|
|
||||||
task add "Hire a band?" <--- or quote the whole description...
|
|
||||||
|
|
||||||
task add -- Hire a band\? +dj You can also use the minus minus operator which tells
|
|
||||||
taskwarrior to stop being clever and interpret the rest
|
|
||||||
of the arguments as a task description. Otherwise, that
|
|
||||||
+dj would be interpreted as a tag.
|
|
||||||
|
|
||||||
task undo We don't need a band, so the easiest way to get rid of that
|
|
||||||
task is to undo the last change. Taskwarrior has a
|
|
||||||
complete undo stack, so you can undo all the way back to
|
|
||||||
the beginning.
|
|
||||||
task 1 delete The undo operation gets rid of the task completely, but I
|
|
||||||
task undo could also have just deleted the task, then the deletion
|
|
||||||
itself would be tracked, and also undoable.
|
|
||||||
|
|
||||||
---------------------------------------- Info ------------------------------------------------------
|
|
||||||
|
|
||||||
task 1 info During that undo operation, taskwarrior displayed metadata
|
|
||||||
task 1 that is associated with the task. You can display this
|
|
||||||
with the info command, and its shortcut.
|
|
||||||
|
|
||||||
task stats There are also statistics that taskwarrior gathers, which
|
|
||||||
I can display.
|
|
||||||
|
|
||||||
---------------------------------------- Annotations -----------------------------------------------
|
|
||||||
|
|
||||||
task 1 annotate the 12th looks good Annotations are little notes that can be added to a task.
|
|
||||||
task 1 annotate or the 13th There can be any number, and each has a time stamp.
|
|
||||||
task list
|
|
||||||
task list rc.annotations:full You can choose to display annotations in different ways.
|
|
||||||
task list rc.annotations:sparse
|
|
||||||
task list rc.annotations:none
|
|
||||||
|
|
||||||
task 1 denotate 13th Annotations can be removed by providing a matching pattern.
|
|
||||||
task list
|
|
||||||
|
|
||||||
---------------------------------------- Configuration ---------------------------------------------
|
|
||||||
|
|
||||||
task show There is a 'show' command, that is used to display the
|
|
||||||
active configuration. There are hundreds of settings that
|
|
||||||
can be changed, and every one has a sensible default.
|
|
||||||
|
|
||||||
man taskrc If you want a complete list of all the settings and their
|
|
||||||
meanings, read the man page.
|
|
||||||
|
|
||||||
task config answer 42 The 'config' command is used to modify the settings, and in
|
|
||||||
this case the configuration variable 'answer' is given the
|
|
||||||
value of 42.
|
|
||||||
|
|
||||||
task show answer The 'show' command indicates that the value was changed,
|
|
||||||
task config answer and also that the variable is unrecognized. The show
|
|
||||||
command performs a detailed check on your configuration, and
|
|
||||||
alerts you to several kinds of problem. The config command
|
|
||||||
can also remove a value.
|
|
||||||
|
|
||||||
task rc.report.list.sort=description+ list
|
|
||||||
A very powerful feature is the ability to override the
|
|
||||||
configuration variables temporarily. Here I am requesting
|
|
||||||
an ascending sort on the description field only.
|
|
||||||
|
|
||||||
---------------------------------------- Defaults --------------------------------------------------
|
|
||||||
|
|
||||||
task config default.command list There is a default command, which can be set to anything,
|
|
||||||
task in this case it is set to the 'list' report. Then running
|
|
||||||
taskwarrior with no command name runs the default command.
|
|
||||||
|
|
||||||
task config default.priority H I can also specify a default priority and project, which
|
|
||||||
task config default.project Work means that any tasks added will use them, unless an
|
|
||||||
task add New task alternative is provided.
|
|
||||||
task list
|
|
||||||
|
|
||||||
task undo Let's just revert those changes, to clean up.
|
|
||||||
task config default.priority
|
|
||||||
task config default.project
|
|
||||||
|
|
||||||
---------------------------------------- Aliases ---------------------------------------------------
|
|
||||||
|
|
||||||
task config alias.zzz list You can create aliases to effectively rename commands.
|
|
||||||
task zzz
|
|
||||||
|
|
||||||
task z You can abbreviate those, too.
|
|
||||||
|
|
||||||
---------------------------------------- Color -----------------------------------------------------
|
|
||||||
|
|
||||||
task config color on All the examples so far have been shown with color turned
|
|
||||||
task list off. How about some color?
|
|
||||||
|
|
||||||
What you see is the result of a set of color rules being
|
|
||||||
applied to the tasks. There is a hierarchy of color rules
|
|
||||||
that colorize a task based on the metadata
|
|
||||||
|
|
||||||
task 1 "bg:on red" Here is an example of an explicit override to the color
|
|
||||||
task list rules where a specific task is given a red background.
|
|
||||||
task 1 bg: Note that the quotes are necessary, otherwise the shell
|
|
||||||
will consider "bg:on" and "red" to be separate arugments.
|
|
||||||
|
|
||||||
task color Taskwarrior supports 256 colors on certain terminal
|
|
||||||
emulators, and this shows the range of colors available.
|
|
||||||
|
|
||||||
task color white on red This is how to show a color sample.
|
|
||||||
|
|
||||||
task color legend Or samples of all the active color settings.
|
|
||||||
|
|
||||||
Themes are a simple way to use coordinated color schemes
|
|
||||||
so by including a color theme into the configuration file,
|
|
||||||
you can see some striking effects.
|
|
||||||
|
|
||||||
A blue theme.
|
|
||||||
|
|
||||||
# include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
|
||||||
vi ~/.taskrc
|
|
||||||
task color legend
|
|
||||||
task list
|
|
||||||
A red theme.
|
|
||||||
|
|
||||||
# include /usr/local/share/doc/task/rc/dark-red-256.theme
|
|
||||||
vi ~/.taskrc
|
|
||||||
task color legend
|
|
||||||
task list
|
|
||||||
A general dark theme.
|
|
||||||
|
|
||||||
# include /usr/local/share/doc/task/rc/dark-256.theme
|
|
||||||
vi ~/.taskrc
|
|
||||||
task list
|
|
||||||
|
|
||||||
Here is are two color rules that specify a dark blue
|
|
||||||
background for all tasks that are part of the 'party'
|
|
||||||
project, and uses bold to identify any tasks with the
|
|
||||||
keyword 'invitations' in the description.
|
|
||||||
|
|
||||||
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
|
||||||
|
|
||||||
man task-color There is a man page with a writeup of all the color
|
|
||||||
capabilities.
|
|
||||||
|
|
||||||
---------------------------------------- Active tasks ----------------------------------------------
|
|
||||||
|
|
||||||
task 2 start I'm selecting a venue, so let's indicate that task 2 is
|
|
||||||
task list active by starting it. See how active tasks are affected
|
|
||||||
by the color rules.
|
|
||||||
|
|
||||||
task active There is an active report that shows only active tasks, and
|
|
||||||
task 2 stop you can mark any active task as inactive, by stopping it.
|
|
||||||
|
|
||||||
task config journal.time on (y) There is a journalling feature that records the start and
|
|
||||||
|
|
||||||
task config dateformat.annotation 'Y/m/d H:N' (y)
|
|
||||||
|
|
||||||
task 2 start stop times as annotations. We'll turn that on, and add
|
|
||||||
task list venue the time to the annotation date format.
|
|
||||||
task 2 stop
|
|
||||||
task list venue
|
|
||||||
|
|
||||||
---------------------------------------- Due dates -------------------------------------------------
|
|
||||||
|
|
||||||
task 1 due:7/31/2010 Due dates can be specified as dates...
|
|
||||||
task 1 due:2wks as some distance into the future...
|
|
||||||
task 1 due:-2wks or past...
|
|
||||||
task 1 due:eom or by mnemonic (end of month)...
|
|
||||||
task 2 due:8th or by ordinal...
|
|
||||||
task 2 due:sunday or by day of week...
|
|
||||||
task 5 due:eow
|
|
||||||
task list Some of these dates are in the past, so now you see there
|
|
||||||
task overdue are overdue tasks. Due dates have different colors for
|
|
||||||
due, imminent, today and overdue values.
|
|
||||||
|
|
||||||
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
|
||||||
You can also choose the format - for input and output.
|
|
||||||
|
|
||||||
---------------------------------------- Calendar --------------------------------------------------
|
|
||||||
|
|
||||||
task calendar When tasks have due dates, you can see them on the calendar.
|
|
||||||
|
|
||||||
vi ~/.taskrc
|
|
||||||
# include /usr/local/share/doc/task/rc/holidays-US.rc
|
|
||||||
task calendar
|
|
||||||
Taskwarrior provides sample holiday files. You can create
|
|
||||||
your own, or use one of the samples to show holidays on the
|
|
||||||
calendar.
|
|
||||||
|
|
||||||
task cal 2010 You can see the whole year.
|
|
||||||
task rc.calendar.details:full cal You can see the tasks with due dates also.
|
|
||||||
task rc.calendar.holidays:full cal And you can see the holidays.
|
|
||||||
|
|
||||||
---------------------------------------- Recurrence ------------------------------------------------
|
|
||||||
|
|
||||||
task 7 info Remember the task we added to pay the rent? We're going to
|
|
||||||
task 7 due:eom recur:monthly need to do that every month. Recurring tasks allow us to
|
|
||||||
task 7 set up a single task that keeps coming back, just as you'd
|
|
||||||
expect.
|
|
||||||
|
|
||||||
task 7 until:eoy You can also limit the extent of the recurrence. Let's make
|
|
||||||
sure the task doesn't recur after the lease ends.
|
|
||||||
|
|
||||||
task recurring And there is a recurring report that shows you only the
|
|
||||||
recurring tasks.
|
|
||||||
|
|
||||||
To illustrate a point, let's set up a recurring annual task
|
|
||||||
as a reminder to pay taxes, and put the due date in the past.
|
|
||||||
This will cause task to fill in the gaps, and create a series
|
|
||||||
of severely overdue tasks.
|
|
||||||
|
|
||||||
task add Pay taxes due:4/15/2007 recur:yearly
|
|
||||||
task long
|
|
||||||
|
|
||||||
task 11 delete # y y Deletions to recurring tasks can be escalated to include all
|
|
||||||
task list the recurrences of a task.
|
|
||||||
|
|
||||||
---------------------------------------- Shell -----------------------------------------------------
|
|
||||||
|
|
||||||
task shell You can use the shell command to create a more immersive
|
|
||||||
task> projects environment. Any task command you run outside the shell
|
|
||||||
task> tags can also be run inside the shell, without the need to prefix
|
|
||||||
task> list every command with "task".
|
|
||||||
task> quit
|
|
||||||
|
|
||||||
---------------------------------------- Special Tags ----------------------------------------------
|
|
||||||
|
|
||||||
task 6 +nocolor You've seen tags, but there are also 'special tags' that
|
|
||||||
task list have effects on individual tasks. The 'nocolor' special
|
|
||||||
tag causes the color rules to be bypassed.
|
|
||||||
|
|
||||||
task tags Special tags are highlighted by the 'tags' command.
|
|
||||||
|
|
||||||
task 6 -nocolor There are others - the 'nonag' special tag prevents the
|
|
||||||
generation of nag messages when you work on low priority
|
|
||||||
tasks when there are more important ones.
|
|
||||||
|
|
||||||
The 'nocal' special tag will prevent a task from appearing
|
|
||||||
on the calendar.
|
|
||||||
|
|
||||||
---------------------------------------- Waiting ---------------------------------------------------
|
|
||||||
|
|
||||||
task add Look for new apartment due:eoy When you have a task with a due date that is far out into
|
|
||||||
task list the future, you may want to hide that task for a while.
|
|
||||||
|
|
||||||
task 10 wait:12/1/2010 You can provide a wait date for a task, and it will remain
|
|
||||||
task list hidden until that date. It will no longer be cluttering
|
|
||||||
task waiting your task list, but it is still there, and visible using
|
|
||||||
the 'waiting' report. When the wait date comes, the task
|
|
||||||
will just pop back into the list.
|
|
||||||
|
|
||||||
task add Do something in a few seconds To illustrate this, let's set up a task with a very short
|
|
||||||
task 11 wait:5s wait time of five seconds.
|
|
||||||
|
|
||||||
task list It's gone.
|
|
||||||
(sleep 5) We wait for 5 seconds...
|
|
||||||
task list And it's back.
|
|
||||||
task 11 rc.confirmation:no delete And now it's deleted.
|
|
||||||
|
|
||||||
---------------------------------------- Dependencies ----------------------------------------------
|
|
||||||
|
|
||||||
task list pro:party Taskwarrior supports dependencies. Let's take a look at the
|
|
||||||
party planning tasks, and assign dependencies.
|
|
||||||
|
|
||||||
task 3 depends:6 Let's see. I can't mail invitations until they are printed.
|
|
||||||
task 6 dep:5 I can't print them until I design them.
|
|
||||||
task 2 dep:1 I need to select a weekend before a location.
|
|
||||||
task 5 dep:1,2 Design depends on location and weekend.
|
|
||||||
task 4 dep:1 And the caterer needs to know where.
|
|
||||||
|
|
||||||
task long pro:party All my tasks are blocked except task 1. That makes sense.
|
|
||||||
|
|
||||||
task 5 dep:-1 Hmm, that double dependency isn't right.
|
|
||||||
|
|
||||||
task blocked Here are the blocked tasks.
|
|
||||||
task unblocked and the opposite, the unblocked tasks.
|
|
||||||
|
|
||||||
task 1 info If we look at task 1 closely, we can see that it is blocking
|
|
||||||
task 2 info 2 and 4. And if we look at task 2, we see that it is
|
|
||||||
blocked by 1, and blocking 5.
|
|
||||||
|
|
||||||
This is called a dependency chain, which is a string of tasks
|
|
||||||
that are all connected not only by their project, but by
|
|
||||||
dependencies.
|
|
||||||
|
|
||||||
Now we understand that task 1 should be done first, but you
|
|
||||||
may still violate the laws of physics if you wish. Let's
|
|
||||||
complete task 2 and see what happens.
|
|
||||||
|
|
||||||
task 2 done (y) Taskwarrior realizes what you are doing, and offers to fix
|
|
||||||
task 1 info the dependency chain to reflect what you have done.
|
|
||||||
|
|
||||||
---------------------------------------- Reports ---------------------------------------------------
|
|
||||||
|
|
||||||
task minimal Taskwarrior has a good many reports. There is the bare minimum.
|
|
||||||
task ls The simple.
|
|
||||||
task list The standard.
|
|
||||||
task long The kitchen sink.
|
|
||||||
task all The packrat.
|
|
||||||
task completed Nostalgia.
|
|
||||||
task recurring Groundhog day.
|
|
||||||
task waiting Surprises.
|
|
||||||
task blocked Wedged.
|
|
||||||
task unblocked Unencumbered.
|
|
||||||
task oldest Ancient history.
|
|
||||||
task newest Contemporary.
|
|
||||||
task timesheet Corporate.
|
|
||||||
task next And "what should I work on next?" This one can be useful
|
|
||||||
because it pulls a few of the highest priority tasks from
|
|
||||||
all the projects. It's the report we should all be using.
|
|
||||||
|
|
||||||
---------------------------------------- Custom Report ---------------------------------------------
|
|
||||||
|
|
||||||
You can even define your own custom report. Let's quickly
|
|
||||||
create a custom report - we'll call it foo - and I can
|
|
||||||
choose from a long list of fields to include in the report,
|
|
||||||
but I want to see the ID, the date when I entered the task,
|
|
||||||
and the description. I can specify the labels for those
|
|
||||||
columns, the sort order of the report, and I can filter.
|
|
||||||
|
|
||||||
cat >> ~/.taskrc
|
|
||||||
report.foo.description=My own report
|
|
||||||
report.foo.columns=id,entry,description
|
|
||||||
report.foo.labels=ID,Entered,Description
|
|
||||||
report.foo.sort=entry+,description+
|
|
||||||
report.foo.filter=status:pending
|
|
||||||
|
|
||||||
task help | grep foo Custom reports also show up on the help output.
|
|
||||||
|
|
||||||
task show report.foo I can inspect the configuration.
|
|
||||||
|
|
||||||
task foo And they can be run just like the other reports.
|
|
||||||
|
|
||||||
---------------------------------------- Charts ----------------------------------------------------
|
|
||||||
|
|
||||||
task history The history report gives monthly totals of tasks added,
|
|
||||||
task history.annual completed and deleted. There is also an annual version.
|
|
||||||
|
|
||||||
task ghistory There is a graphical monthly...
|
|
||||||
task ghistory.annual and annual version.
|
|
||||||
|
|
||||||
task summary There is a project summary report that shows progress in
|
|
||||||
all the projects.
|
|
||||||
|
|
||||||
---------------------------------------- Advanced Filters ------------------------------------------
|
|
||||||
|
|
||||||
task list Filters are a very powerful tool. First here is an
|
|
||||||
task list invit unfiltered list, which shows all tasks. Now again, but with
|
|
||||||
the text 'invit', which acts as a filter on the description
|
|
||||||
field.
|
|
||||||
|
|
||||||
task list description.contains:invit This is the equivalent form using attribute modifiers. In
|
|
||||||
this example we are filtering on descriptions that contain
|
|
||||||
the word fragment. Here we are using the 'contains'
|
|
||||||
modifier, but there are many others.
|
|
||||||
|
|
||||||
task list desc.word:the All tasks containing the whole word 'the'. See how
|
|
||||||
annotations are also searched?
|
|
||||||
|
|
||||||
task list desc.noword:invitations Here is a list of all tasks that do not contain the whole
|
|
||||||
word 'invitations'.
|
|
||||||
|
|
||||||
task list pro:party Here list all tasks in the 'party' project.
|
|
||||||
task list pro.is:party And the full equivalent.
|
|
||||||
task list pro.not:party Here list tasks that are not in the 'party' project. I
|
|
||||||
could have also used 'isnt' here - there are several
|
|
||||||
synonyms for modifiers, so that the filter can be written
|
|
||||||
so that it reads naturally.
|
|
||||||
|
|
||||||
task list pro:party pri.over:L Here the 'over' modifier is filtering on priorities that
|
|
||||||
sort higher than 'Low', and also filtering on the 'party'
|
|
||||||
project. There are two terms in this filter.
|
|
||||||
|
|
||||||
task list pro:party limit:2 Same again, but only show me the first two tasks.
|
|
||||||
task list limit:page Now all tasks, but just show the first page of tasks. I
|
|
||||||
don't have a page full of tasks here, but you get the idea.
|
|
||||||
|
|
||||||
task all status:pending Now you can see how some of the built-in reports work. The
|
|
||||||
'list' report is just all tasks, filtered so that only the
|
|
||||||
pending tasks are shown.
|
|
||||||
|
|
||||||
task all status:waiting The 'waiting' report is similarly defined.
|
|
||||||
|
|
||||||
---------------------------------------- Import/Export ---------------------------------------------
|
|
||||||
|
|
||||||
task export.csv You can export your tasks. Here you see all tasks being
|
|
||||||
exported in CSV format.
|
|
||||||
|
|
||||||
task export.csv venue Let's just export one task in CSV format...
|
|
||||||
task export.vcalendar venue Or in VCalendar format...
|
|
||||||
task export.yaml venue Or YAML.
|
|
||||||
|
|
||||||
cat file.text I can also import. Here I am importing simple lines of
|
|
||||||
task import file.text text. Taskwarrior recognizes the format and confirms.
|
|
||||||
|
|
||||||
cat file.yaml Here is a YAML example. Taskwarrior can read several
|
|
||||||
task import file.yaml formats, including old versions of its data files. Using
|
|
||||||
YAML, you can round-trip the data without loss.
|
|
||||||
|
|
||||||
task new limit:2 Here are the imported tasks.
|
|
||||||
|
|
||||||
---------------------------------------- Help ------------------------------------------------------
|
|
||||||
|
|
||||||
task help You'll find a quick reference page built in, with the 'help'
|
|
||||||
man task command, or perhaps you'll want to take a look at the several
|
|
||||||
man taskrc man pages installed. This demo has superficially shown
|
|
||||||
man task-color many features which have more capability and depth which you
|
|
||||||
can find in the man pages, and online.
|
|
||||||
|
|
||||||
man task-tutorial This screencast is actually just a recording of me going
|
|
||||||
through the tutorial.
|
|
||||||
|
|
||||||
man task-faq Some frequently asked questions are answered here.
|
|
||||||
|
|
||||||
man task-sync You've patiently watched this whole movie, so here's your
|
|
||||||
reward - taskwarrior 1.9.3 has network synchronization
|
|
||||||
features, for sharing tasks across computers. But this is
|
|
||||||
just a teaser - synch will be shown in the next movie.
|
|
||||||
|
|
||||||
---------------------------------------- Wrap up ---------------------------------------------------
|
|
||||||
|
|
||||||
task version And that's it. Don't forget to take a look at
|
|
||||||
taskwarrior.org.
|
|
||||||
|
|
||||||
Thank you for watching.
|
|
||||||
|
|
||||||
---------------------------------------- End -------------------------------------------------------
|
|
||||||
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
Hello. This is a demonstration of the
|
|
||||||
taskwarrior color capabilities coming
|
|
||||||
in version 1.9.
|
|
||||||
|
|
||||||
task color The color command shows the various
|
|
||||||
supported colors. For this you will
|
|
||||||
need an xterm with 256-color support,
|
|
||||||
or an equivalent.
|
|
||||||
|
|
||||||
This demo uses iTerm running on Snow
|
|
||||||
Leopard.
|
|
||||||
|
|
||||||
task add Prepare 1.9 for release Let's create a few tasks, to illustrate
|
|
||||||
task add Update the various docs the features. Five should be enough.
|
|
||||||
task add Run the regression tests
|
|
||||||
task add Make the packages
|
|
||||||
task add Upload to distributions
|
|
||||||
|
|
||||||
--- NOTES
|
|
||||||
|
|
||||||
16-color mode
|
|
||||||
upgrade
|
|
||||||
blending
|
|
||||||
alternate lines
|
|
||||||
|
|
||||||
--- NOTES
|
|
||||||
|
|
||||||
task ls Okay, let's color any tasks that
|
|
||||||
mention tests a nice medium blue.
|
|
||||||
|
|
||||||
echo 'color.keyword.test=color23' >> ~/.taskrc
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
$ # Q: What is a formatting hook?
|
|
||||||
$ # A: Lua code that modifies taskwarrior output at run time.
|
|
||||||
$
|
|
||||||
$ cat > hooks.lua
|
|
||||||
|
|
||||||
-- Make ID not show up
|
|
||||||
function id (name, value)
|
|
||||||
return "(shhh - it's a secret)", 0, nil
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Decorate the UUID
|
|
||||||
function uuid (name, value)
|
|
||||||
return '<<<' .. value .. '>>>', 0, nil
|
|
||||||
end
|
|
||||||
|
|
||||||
^D
|
|
||||||
|
|
||||||
$ # Q: What is a command hook?
|
|
||||||
$ # A: Lua code that changes the way commands work.
|
|
||||||
$
|
|
||||||
$ cat >> hooks.lua
|
|
||||||
|
|
||||||
-- Disable tags
|
|
||||||
function notags ()
|
|
||||||
return 1, 'Tags have been disabled'
|
|
||||||
end
|
|
||||||
|
|
||||||
^D
|
|
||||||
|
|
||||||
$
|
|
||||||
$ task config -- hook.format-id ~/demo/hooks.lua:id
|
|
||||||
$ task config -- hook.format-uuid ~/demo/hooks.lua:uuid
|
|
||||||
$ task config -- hook.pre-tag ~/demo/hooks.lua:notags
|
|
||||||
$ task list
|
|
||||||
$ task add Demonstrate formatting hooks
|
|
||||||
$ task 1 info
|
|
||||||
$ task config hooks on
|
|
||||||
$ task 1 info
|
|
||||||
$ task 1 +try_to_tag
|
|
||||||
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
$
|
|
||||||
$ # Taskwarrior now has Lua 5.1.4 built in.
|
|
||||||
$
|
|
||||||
$ task version
|
|
||||||
$ cat > hooks.lua
|
|
||||||
function foo ()
|
|
||||||
print ("Hello from Lua")
|
|
||||||
return 0, nil
|
|
||||||
end
|
|
||||||
^D
|
|
||||||
$
|
|
||||||
$ # Taskwarrior can call into Lua at many points during execution.
|
|
||||||
$ # This one is called immediately before taskwarrior quits.
|
|
||||||
$
|
|
||||||
$ task rc.hook.pre-exit=~/hooks.lua:foo version
|
|
||||||
$
|
|
||||||
$ # While taskwarrior is calling Lua code, the Lua can also call
|
|
||||||
$ # back into a taskwarrior API, for information.
|
|
||||||
$
|
|
||||||
$ cat > hooks.lua
|
|
||||||
function foo ()
|
|
||||||
print "Lua version is " .. task_lua_version ())
|
|
||||||
print "Taskwarrior version is " .. task_version ())
|
|
||||||
return 0, nil
|
|
||||||
end
|
|
||||||
^D
|
|
||||||
$
|
|
||||||
$ cat >> .taskrc
|
|
||||||
hook.pre-exit=~/hooks.lua:foo
|
|
||||||
^D
|
|
||||||
$
|
|
||||||
$ task version
|
|
||||||
|
|
||||||
@@ -1,109 +0,0 @@
|
|||||||
Hello, and welcome to this quick demo of the
|
|
||||||
taskwarrior program.
|
|
||||||
|
|
||||||
task add do laundry Let's add some tasks
|
|
||||||
I need to do laundry
|
|
||||||
|
|
||||||
task add project:garage order dumpster Oh yeah, I need to order the dumpster
|
|
||||||
|
|
||||||
task add +phone tell mom i loveher Must call Mom (that "phone" there is a tag - they can
|
|
||||||
be useful for searching and categorizing)
|
|
||||||
task add +phone pro:garage schedule
|
|
||||||
goodwill pickup
|
|
||||||
|
|
||||||
task ad +email pro:garage ask Tom if Notice I can abbreviate commands
|
|
||||||
he wants that old bkie
|
|
||||||
|
|
||||||
task ls Let's see what we've got
|
|
||||||
Oh, I spelled bike wrong
|
|
||||||
|
|
||||||
task 5 /bkie/bike/
|
|
||||||
task ls That's better
|
|
||||||
|
|
||||||
task 1 pro:home Let's assign projects
|
|
||||||
task 3 pro:home tell mom I love her
|
|
||||||
task ls pro:garage
|
|
||||||
|
|
||||||
task long pro:garage Let's see all the columns
|
|
||||||
|
|
||||||
task list pro:garage There are different ways to list
|
|
||||||
|
|
||||||
task lis +phone By tag
|
|
||||||
task li pro:garage +phone By project and tag
|
|
||||||
task l mom By word
|
|
||||||
|
|
||||||
task 1 priority:H Priorities can be High, Medium or Low
|
|
||||||
task pri:H 3
|
|
||||||
task 1 pri:M
|
|
||||||
task li The list is sorted by priority.
|
|
||||||
|
|
||||||
task 2 pri:L
|
|
||||||
task li
|
|
||||||
|
|
||||||
task done 3 Suppose task 3 is done
|
|
||||||
task li ...and it's gone
|
|
||||||
|
|
||||||
task 2 +phone +mistake Lets add tags
|
|
||||||
|
|
||||||
# Oops!
|
|
||||||
task 2 -mistake or remove tags
|
|
||||||
|
|
||||||
task tags or look at all the tags
|
|
||||||
|
|
||||||
task info 2 or all the details
|
|
||||||
|
|
||||||
task projects or all the projects
|
|
||||||
|
|
||||||
task 3 fg:bold Let's make it colorful
|
|
||||||
task 4 fg:bold_green
|
|
||||||
task li
|
|
||||||
task 3 fg:bold_underline_white
|
|
||||||
task li
|
|
||||||
|
|
||||||
task 4 bg:on_bright_red fg:bold_yellow
|
|
||||||
task li Oh that's just nasty - let's get rid of that.
|
|
||||||
task 4 bg:
|
|
||||||
task li
|
|
||||||
task 4 fg:
|
|
||||||
task 3 fg:
|
|
||||||
|
|
||||||
task colors There are many combinations to choose from
|
|
||||||
|
|
||||||
task 1 due:6/8/2008 Let's add a due date
|
|
||||||
date
|
|
||||||
|
|
||||||
task li
|
|
||||||
task calendar Notice the due task is in yellow, today is marked cyan
|
|
||||||
|
|
||||||
task 1 due:5/20/2008 This is now an overdue task
|
|
||||||
task li and it shows up red
|
|
||||||
task overdue
|
|
||||||
task cal
|
|
||||||
|
|
||||||
task export file.csv You can export the tasks to a spreadsheet
|
|
||||||
cat file.csv
|
|
||||||
|
|
||||||
task start 1 Started tasks can be used as reminders
|
|
||||||
of what you are supposed to be doing
|
|
||||||
|
|
||||||
task active They show up as active
|
|
||||||
task done 1 Let's clear out a couple
|
|
||||||
task li
|
|
||||||
task done 3
|
|
||||||
task active
|
|
||||||
|
|
||||||
task summary Summary shows progress on all projects
|
|
||||||
|
|
||||||
task history History shows general activity - how many added,
|
|
||||||
completed etc, by month
|
|
||||||
|
|
||||||
task ghistory This report shows a histogram of tasks that were
|
|
||||||
added (in red), completed (in green) and deleted
|
|
||||||
(in yellow), all by month.
|
|
||||||
|
|
||||||
And that's it. There are more commands than this
|
|
||||||
covered in the online documentation, but this should give
|
|
||||||
the basic idea.
|
|
||||||
|
|
||||||
Thank you for watching.
|
|
||||||
|
|
||||||
16
doc/misc/themes/README
Normal file
16
doc/misc/themes/README
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
Themes
|
||||||
|
|
||||||
|
To generate samples of themes, first execute the 'run' script to generate the
|
||||||
|
sample data. Note that this data may need to be tweaked to include qualities
|
||||||
|
that need to be illustrated in theme sample.
|
||||||
|
|
||||||
|
Then edit the 'rc' file to include the desired theme file.
|
||||||
|
|
||||||
|
Then run 'per' once per theme, and capture the display.
|
||||||
|
|
||||||
|
Note that this will require that the terminal window be switched between a black
|
||||||
|
and white background to properly show the light and dark themes.
|
||||||
|
|
||||||
|
Note that for the solarized themes, the terminal color palette needs to be set
|
||||||
|
to specific colors.
|
||||||
|
|
||||||
8
doc/misc/themes/per
Executable file
8
doc/misc/themes/per
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
echo '$ task list'
|
||||||
|
task rc:rc list | grep -v alternate
|
||||||
|
echo '$ task summary'
|
||||||
|
task rc:rc summary | grep -v alternate
|
||||||
|
echo '$ task ghistory'
|
||||||
|
task rc:rc ghistory | grep -v alternate
|
||||||
|
echo '$ task calendar'
|
||||||
|
task rc:rc calendar | grep -v alternate
|
||||||
47
doc/misc/themes/run
Executable file
47
doc/misc/themes/run
Executable file
@@ -0,0 +1,47 @@
|
|||||||
|
rm pending.data completed.data undo.data rc
|
||||||
|
|
||||||
|
cat <<EOF >>rc
|
||||||
|
|
||||||
|
data.location=.
|
||||||
|
confirmation=off
|
||||||
|
_forcecolor=on
|
||||||
|
|
||||||
|
#include ~/task-2.0.0.git/doc/rc/light-16.theme
|
||||||
|
#include ~/task-2.0.0.git/doc/rc/dark-16.theme
|
||||||
|
#include ~/task-2.0.0.git/doc/rc/light-256.theme
|
||||||
|
#include ~/task-2.0.0.git/doc/rc/dark-256.theme
|
||||||
|
#include ~/task-2.0.0.git/doc/rc/dark-gray-256.theme
|
||||||
|
#include ~/task-2.0.0.git/doc/rc/dark-red-256.theme
|
||||||
|
#include ~/task-2.0.0.git/doc/rc/dark-green-256.theme
|
||||||
|
#include ~/task-2.0.0.git/doc/rc/dark-blue-256.theme
|
||||||
|
include ~/task-2.0.0.git/doc/rc/dark-violets-256.theme
|
||||||
|
#include ~/task-2.0.0.git/doc/rc/dark-yellow-green.theme
|
||||||
|
#include ~/task-2.0.0.git/doc/rc/solarized-dark-256.theme
|
||||||
|
#include ~/task-2.0.0.git/doc/rc/solarized-light-256.theme
|
||||||
|
|
||||||
|
EOF
|
||||||
|
|
||||||
|
task rc:rc add Ordinary task
|
||||||
|
task rc:rc add Started task
|
||||||
|
task rc:rc 2 start
|
||||||
|
task rc:rc add High priority task pri:H
|
||||||
|
task rc:rc add Medium priority task pri:M
|
||||||
|
task rc:rc add Low priority task pri:L
|
||||||
|
task rc:rc add Household task project:Home
|
||||||
|
task rc:rc add Outdoor task project:Garden
|
||||||
|
task rc:rc add Overdue task due:yesterday
|
||||||
|
task rc:rc add Due task due:tomorrow
|
||||||
|
task rc:rc add Not yet due tasks due:2/14/2012
|
||||||
|
task rc:rc add Recurring task due:eom recur:monthly
|
||||||
|
task rc:rc add Tagged task +tag1
|
||||||
|
task rc:rc add Blocking task
|
||||||
|
task rc:rc add Dependent task
|
||||||
|
|
||||||
|
task rc:rc log Completed_1 project:Garden
|
||||||
|
task rc:rc log Completed_2 project:Garden
|
||||||
|
task rc:rc log Completed_3 project:Home
|
||||||
|
task rc:rc add Deleted_1
|
||||||
|
|
||||||
|
task rc:rc 14 mod depends:13
|
||||||
|
task rc:rc 15 delete
|
||||||
|
|
||||||
43
doc/misc/tutorial/active/script.200.txt
Normal file
43
doc/misc/tutorial/active/script.200.txt
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Active tasks ----------------------------------------------
|
||||||
|
|
||||||
|
task 2 start I'm selecting a venue, so let's indicate that task 2 is
|
||||||
|
task list active by starting it. See how active tasks are affected
|
||||||
|
by the color rules.
|
||||||
|
|
||||||
|
task active There is an active report that shows only active tasks, and
|
||||||
|
task 2 stop you can mark any active task as inactive, by stopping it.
|
||||||
|
|
||||||
|
task config journal.time on (y) There is a journalling feature that records the start and
|
||||||
|
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N' (y)
|
||||||
|
|
||||||
|
task 2 start stop times as annotations. We'll turn that on, and add
|
||||||
|
task list venue the time to the annotation date format.
|
||||||
|
task 2 stop
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
task list
|
||||||
|
task 2 start
|
||||||
|
|
||||||
|
task 2 info
|
||||||
|
sleep 4
|
||||||
|
task 2 info
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
task 2 start
|
||||||
|
sleep 2
|
||||||
|
task 2 stop
|
||||||
|
task 2 info
|
||||||
|
|
||||||
533
doc/misc/tutorial/aliases/run.200
Executable file
533
doc/misc/tutorial/aliases/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
24
doc/misc/tutorial/aliases/script.200.txt
Normal file
24
doc/misc/tutorial/aliases/script.200.txt
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Aliases ---------------------------------------------------
|
||||||
|
|
||||||
|
task config alias.zzz list You can create aliases to effectively rename commands.
|
||||||
|
task zzz
|
||||||
|
|
||||||
|
task z You can abbreviate those, too.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Complex aliases, including fragments that can be used in other contexts.
|
||||||
|
|
||||||
|
task config pf project:foo
|
||||||
|
task list pf
|
||||||
|
|
||||||
533
doc/misc/tutorial/annotations/run.200
Executable file
533
doc/misc/tutorial/annotations/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
27
doc/misc/tutorial/annotations/script.200.txt
Normal file
27
doc/misc/tutorial/annotations/script.200.txt
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Annotations -----------------------------------------------
|
||||||
|
|
||||||
|
task 1 annotate the 12th looks good Annotations are little notes that can be added to a task.
|
||||||
|
task 1 annotate or the 13th There can be any number, and each has a time stamp.
|
||||||
|
task list
|
||||||
|
task list rc.annotations:full You can choose to display annotations in different ways.
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:none
|
||||||
|
|
||||||
|
task 1 denotate 13th Annotations can be removed by providing a matching pattern.
|
||||||
|
task list
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Remove rc.annotations.*
|
||||||
|
Illustrate different annotation formats.
|
||||||
|
Searching in annotations
|
||||||
533
doc/misc/tutorial/calendar/run.200
Executable file
533
doc/misc/tutorial/calendar/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
29
doc/misc/tutorial/calendar/script.200.txt
Normal file
29
doc/misc/tutorial/calendar/script.200.txt
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Calendar --------------------------------------------------
|
||||||
|
|
||||||
|
task calendar When tasks have due dates, you can see them on the calendar.
|
||||||
|
|
||||||
|
vi ~/.taskrc
|
||||||
|
# include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
task calendar
|
||||||
|
Taskwarrior provides sample holiday files. You can create
|
||||||
|
your own, or use one of the samples to show holidays on the
|
||||||
|
calendar.
|
||||||
|
|
||||||
|
task cal 2010 You can see the whole year.
|
||||||
|
task rc.calendar.details:full cal You can see the tasks with due dates also.
|
||||||
|
task rc.calendar.holidays:full cal And you can see the holidays.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Include 'ln -s `which task` cal' trick
|
||||||
|
|
||||||
533
doc/misc/tutorial/charts/run.200
Executable file
533
doc/misc/tutorial/charts/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
27
doc/misc/tutorial/charts/script.200.txt
Normal file
27
doc/misc/tutorial/charts/script.200.txt
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Charts ----------------------------------------------------
|
||||||
|
|
||||||
|
task history The history report gives monthly totals of tasks added,
|
||||||
|
task history.annual completed and deleted. There is also an annual version.
|
||||||
|
|
||||||
|
task ghistory There is a graphical monthly...
|
||||||
|
task ghistory.annual and annual version.
|
||||||
|
|
||||||
|
task summary There is a project summary report that shows progress in
|
||||||
|
all the projects.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
burndown.m
|
||||||
|
burndown.w
|
||||||
|
burndown.d
|
||||||
|
|
||||||
533
doc/misc/tutorial/color/run.200
Executable file
533
doc/misc/tutorial/color/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
70
doc/misc/tutorial/color/script.200.txt
Normal file
70
doc/misc/tutorial/color/script.200.txt
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Color -----------------------------------------------------
|
||||||
|
|
||||||
|
task config color on All the examples so far have been shown with color turned
|
||||||
|
task list off. How about some color?
|
||||||
|
|
||||||
|
What you see is the result of a set of color rules being
|
||||||
|
applied to the tasks. There is a hierarchy of color rules
|
||||||
|
that colorize a task based on the metadata
|
||||||
|
|
||||||
|
task 1 "bg:on red" Here is an example of an explicit override to the color
|
||||||
|
task list rules where a specific task is given a red background.
|
||||||
|
task 1 bg: Note that the quotes are necessary, otherwise the shell
|
||||||
|
will consider "bg:on" and "red" to be separate arugments.
|
||||||
|
|
||||||
|
task color Taskwarrior supports 256 colors on certain terminal
|
||||||
|
emulators, and this shows the range of colors available.
|
||||||
|
|
||||||
|
task color white on red This is how to show a color sample.
|
||||||
|
|
||||||
|
task color legend Or samples of all the active color settings.
|
||||||
|
|
||||||
|
Themes are a simple way to use coordinated color schemes
|
||||||
|
so by including a color theme into the configuration file,
|
||||||
|
you can see some striking effects.
|
||||||
|
|
||||||
|
A blue theme.
|
||||||
|
|
||||||
|
# include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
vi ~/.taskrc
|
||||||
|
task color legend
|
||||||
|
task list
|
||||||
|
A red theme.
|
||||||
|
|
||||||
|
# include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
vi ~/.taskrc
|
||||||
|
task color legend
|
||||||
|
task list
|
||||||
|
A general dark theme.
|
||||||
|
|
||||||
|
# include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
vi ~/.taskrc
|
||||||
|
task list
|
||||||
|
|
||||||
|
Here is are two color rules that specify a dark blue
|
||||||
|
background for all tasks that are part of the 'party'
|
||||||
|
project, and uses bold to identify any tasks with the
|
||||||
|
keyword 'invitations' in the description.
|
||||||
|
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
|
||||||
|
man task-color There is a man page with a writeup of all the color
|
||||||
|
capabilities.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Remove bg: and fg: because they are deprecated.
|
||||||
|
Demonstrate different themes.
|
||||||
|
More color rules.
|
||||||
|
Mention rc.color.precedence.
|
||||||
|
|
||||||
533
doc/misc/tutorial/configuration/run.200
Executable file
533
doc/misc/tutorial/configuration/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
40
doc/misc/tutorial/configuration/script.200.txt
Normal file
40
doc/misc/tutorial/configuration/script.200.txt
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Configuration ---------------------------------------------
|
||||||
|
|
||||||
|
task show There is a 'show' command, that is used to display the
|
||||||
|
active configuration. There are hundreds of settings that
|
||||||
|
can be changed, and every one has a sensible default.
|
||||||
|
|
||||||
|
man taskrc If you want a complete list of all the settings and their
|
||||||
|
meanings, read the man page.
|
||||||
|
|
||||||
|
task config answer 42 The 'config' command is used to modify the settings, and in
|
||||||
|
this case the configuration variable 'answer' is given the
|
||||||
|
value of 42.
|
||||||
|
|
||||||
|
task show answer The 'show' command indicates that the value was changed,
|
||||||
|
task config answer and also that the variable is unrecognized. The show
|
||||||
|
command performs a detailed check on your configuration, and
|
||||||
|
alerts you to several kinds of problem. The config command
|
||||||
|
can also remove a value.
|
||||||
|
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
A very powerful feature is the ability to override the
|
||||||
|
configuration variables temporarily. Here I am requesting
|
||||||
|
an ascending sort on the description field only.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Mention minimal asspect of ~/.taskrc
|
||||||
|
Mention rc override of file
|
||||||
|
Mention rc overrides of values
|
||||||
|
|
||||||
533
doc/misc/tutorial/custom/run.200
Executable file
533
doc/misc/tutorial/custom/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
37
doc/misc/tutorial/custom/script.200.txt
Normal file
37
doc/misc/tutorial/custom/script.200.txt
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Custom Report ---------------------------------------------
|
||||||
|
|
||||||
|
You can even define your own custom report. Let's quickly
|
||||||
|
create a custom report - we'll call it foo - and I can
|
||||||
|
choose from a long list of fields to include in the report,
|
||||||
|
but I want to see the ID, the date when I entered the task,
|
||||||
|
and the description. I can specify the labels for those
|
||||||
|
columns, the sort order of the report, and I can filter.
|
||||||
|
|
||||||
|
cat >> ~/.taskrc
|
||||||
|
report.foo.description=My own report
|
||||||
|
report.foo.columns=id,entry,description
|
||||||
|
report.foo.labels=ID,Entered,Description
|
||||||
|
report.foo.sort=entry+,description+
|
||||||
|
report.foo.filter=status:pending
|
||||||
|
|
||||||
|
task help | grep foo Custom reports also show up on the help output.
|
||||||
|
|
||||||
|
task show report.foo I can inspect the configuration.
|
||||||
|
|
||||||
|
task foo And they can be run just like the other reports.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Mention all reports are custom reports.
|
||||||
|
Show 'reports' command
|
||||||
|
|
||||||
533
doc/misc/tutorial/defaults/run.200
Executable file
533
doc/misc/tutorial/defaults/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
28
doc/misc/tutorial/defaults/script.200.txt
Normal file
28
doc/misc/tutorial/defaults/script.200.txt
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Defaults --------------------------------------------------
|
||||||
|
|
||||||
|
task config default.command list There is a default command, which can be set to anything,
|
||||||
|
task in this case it is set to the 'list' report. Then running
|
||||||
|
taskwarrior with no command name runs the default command.
|
||||||
|
|
||||||
|
task config default.priority H I can also specify a default priority and project, which
|
||||||
|
task config default.project Work means that any tasks added will use them, unless an
|
||||||
|
task add New task alternative is provided.
|
||||||
|
task list
|
||||||
|
|
||||||
|
task undo Let's just revert those changes, to clean up.
|
||||||
|
task config default.priority
|
||||||
|
task config default.project
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
533
doc/misc/tutorial/dependencies/run.200
Executable file
533
doc/misc/tutorial/dependencies/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
47
doc/misc/tutorial/dependencies/script.200.txt
Normal file
47
doc/misc/tutorial/dependencies/script.200.txt
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Dependencies ----------------------------------------------
|
||||||
|
|
||||||
|
task list pro:party Taskwarrior supports dependencies. Let's take a look at the
|
||||||
|
party planning tasks, and assign dependencies.
|
||||||
|
|
||||||
|
task 3 depends:6 Let's see. I can't mail invitations until they are printed.
|
||||||
|
task 6 dep:5 I can't print them until I design them.
|
||||||
|
task 2 dep:1 I need to select a weekend before a location.
|
||||||
|
task 5 dep:1,2 Design depends on location and weekend.
|
||||||
|
task 4 dep:1 And the caterer needs to know where.
|
||||||
|
|
||||||
|
task long pro:party All my tasks are blocked except task 1. That makes sense.
|
||||||
|
|
||||||
|
task 5 dep:-1 Hmm, that double dependency isn't right.
|
||||||
|
|
||||||
|
task blocked Here are the blocked tasks.
|
||||||
|
task unblocked and the opposite, the unblocked tasks.
|
||||||
|
|
||||||
|
task 1 info If we look at task 1 closely, we can see that it is blocking
|
||||||
|
task 2 info 2 and 4. And if we look at task 2, we see that it is
|
||||||
|
blocked by 1, and blocking 5.
|
||||||
|
|
||||||
|
This is called a dependency chain, which is a string of tasks
|
||||||
|
that are all connected not only by their project, but by
|
||||||
|
dependencies.
|
||||||
|
|
||||||
|
Now we understand that task 1 should be done first, but you
|
||||||
|
may still violate the laws of physics if you wish. Let's
|
||||||
|
complete task 2 and see what happens.
|
||||||
|
|
||||||
|
task 2 done (y) Taskwarrior realizes what you are doing, and offers to fix
|
||||||
|
task 1 info the dependency chain to reflect what you have done.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Show color rules.
|
||||||
|
|
||||||
533
doc/misc/tutorial/due/run.200
Executable file
533
doc/misc/tutorial/due/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
31
doc/misc/tutorial/due/script.200.txt
Normal file
31
doc/misc/tutorial/due/script.200.txt
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Due dates -------------------------------------------------
|
||||||
|
|
||||||
|
task 1 due:7/31/2010 Due dates can be specified as dates...
|
||||||
|
task 1 due:2wks as some distance into the future...
|
||||||
|
task 1 due:-2wks or past...
|
||||||
|
task 1 due:eom or by mnemonic (end of month)...
|
||||||
|
task 2 due:8th or by ordinal...
|
||||||
|
task 2 due:sunday or by day of week...
|
||||||
|
task 5 due:eow
|
||||||
|
task list Some of these dates are in the past, so now you see there
|
||||||
|
task overdue are overdue tasks. Due dates have different colors for
|
||||||
|
due, imminent, today and overdue values.
|
||||||
|
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
You can also choose the format - for input and output.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Show inputting date+time
|
||||||
|
Show alternate rc.due
|
||||||
|
|
||||||
30
doc/misc/tutorial/extra.txt
Normal file
30
doc/misc/tutorial/extra.txt
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
|
||||||
|
Calendar trick
|
||||||
|
ln -s `which task` ./cal
|
||||||
|
./cal
|
||||||
|
|
||||||
|
Synch
|
||||||
|
push
|
||||||
|
pull
|
||||||
|
merge
|
||||||
|
|
||||||
|
Logo
|
||||||
|
|
||||||
|
Version
|
||||||
|
|
||||||
|
Verbosity
|
||||||
|
|
||||||
|
Formats
|
||||||
|
|
||||||
|
Setup
|
||||||
|
First time use
|
||||||
|
Where the files are
|
||||||
|
Using the man pages
|
||||||
|
http://tasktools.org/latest
|
||||||
|
|
||||||
|
Next Report
|
||||||
|
Usage
|
||||||
|
Configuration
|
||||||
|
Urgency
|
||||||
|
+next special tag
|
||||||
|
|
||||||
533
doc/misc/tutorial/filters/run.200
Executable file
533
doc/misc/tutorial/filters/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
55
doc/misc/tutorial/filters/script.200.txt
Normal file
55
doc/misc/tutorial/filters/script.200.txt
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Advanced Filters ------------------------------------------
|
||||||
|
|
||||||
|
task list Filters are a very powerful tool. First here is an
|
||||||
|
task list invit unfiltered list, which shows all tasks. Now again, but with
|
||||||
|
the text 'invit', which acts as a filter on the description
|
||||||
|
field.
|
||||||
|
|
||||||
|
task list description.contains:invit This is the equivalent form using attribute modifiers. In
|
||||||
|
this example we are filtering on descriptions that contain
|
||||||
|
the word fragment. Here we are using the 'contains'
|
||||||
|
modifier, but there are many others.
|
||||||
|
|
||||||
|
task list desc.word:the All tasks containing the whole word 'the'. See how
|
||||||
|
annotations are also searched?
|
||||||
|
|
||||||
|
task list desc.noword:invitations Here is a list of all tasks that do not contain the whole
|
||||||
|
word 'invitations'.
|
||||||
|
|
||||||
|
task list pro:party Here list all tasks in the 'party' project.
|
||||||
|
task list pro.is:party And the full equivalent.
|
||||||
|
task list pro.not:party Here list tasks that are not in the 'party' project. I
|
||||||
|
could have also used 'isnt' here - there are several
|
||||||
|
synonyms for modifiers, so that the filter can be written
|
||||||
|
so that it reads naturally.
|
||||||
|
|
||||||
|
task list pro:party pri.over:L Here the 'over' modifier is filtering on priorities that
|
||||||
|
sort higher than 'Low', and also filtering on the 'party'
|
||||||
|
project. There are two terms in this filter.
|
||||||
|
|
||||||
|
task list pro:party limit:2 Same again, but only show me the first two tasks.
|
||||||
|
task list limit:page Now all tasks, but just show the first page of tasks. I
|
||||||
|
don't have a page full of tasks here, but you get the idea.
|
||||||
|
|
||||||
|
task all status:pending Now you can see how some of the built-in reports work. The
|
||||||
|
'list' report is just all tasks, filtered so that only the
|
||||||
|
pending tasks are shown.
|
||||||
|
|
||||||
|
task all status:waiting The 'waiting' report is similarly defined.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Show boolean combinations
|
||||||
|
Show regexes
|
||||||
|
Show substitutions
|
||||||
|
|
||||||
533
doc/misc/tutorial/help/run.200
Executable file
533
doc/misc/tutorial/help/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
32
doc/misc/tutorial/help/script.200.txt
Normal file
32
doc/misc/tutorial/help/script.200.txt
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Help ------------------------------------------------------
|
||||||
|
|
||||||
|
task help You'll find a quick reference page built in, with the 'help'
|
||||||
|
man task command, or perhaps you'll want to take a look at the several
|
||||||
|
man taskrc man pages installed. This demo has superficially shown
|
||||||
|
man task-color many features which have more capability and depth which you
|
||||||
|
can find in the man pages, and online.
|
||||||
|
|
||||||
|
man task-tutorial This screencast is actually just a recording of me going
|
||||||
|
through the tutorial.
|
||||||
|
|
||||||
|
man task-faq Some frequently asked questions are answered here.
|
||||||
|
|
||||||
|
man task-sync You've patiently watched this whole movie, so here's your
|
||||||
|
reward - taskwarrior 1.9.3 has network synchronization
|
||||||
|
features, for sharing tasks across computers. But this is
|
||||||
|
just a teaser - synch will be shown in the next movie.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Replace spoken track completely.
|
||||||
|
|
||||||
533
doc/misc/tutorial/import_export/run.200
Executable file
533
doc/misc/tutorial/import_export/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
35
doc/misc/tutorial/import_export/script.200.txt
Normal file
35
doc/misc/tutorial/import_export/script.200.txt
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Import/Export ---------------------------------------------
|
||||||
|
|
||||||
|
task export.csv You can export your tasks. Here you see all tasks being
|
||||||
|
exported in CSV format.
|
||||||
|
|
||||||
|
task export.csv venue Let's just export one task in CSV format...
|
||||||
|
task export.vcalendar venue Or in VCalendar format...
|
||||||
|
task export.yaml venue Or YAML.
|
||||||
|
|
||||||
|
cat file.text I can also import. Here I am importing simple lines of
|
||||||
|
task import file.text text. Taskwarrior recognizes the format and confirms.
|
||||||
|
|
||||||
|
cat file.yaml Here is a YAML example. Taskwarrior can read several
|
||||||
|
task import file.yaml formats, including old versions of its data files. Using
|
||||||
|
YAML, you can round-trip the data without loss.
|
||||||
|
|
||||||
|
task new limit:2 Here are the imported tasks.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Show new export scripts
|
||||||
|
Show same script in multiple languages
|
||||||
|
Show new import scripts
|
||||||
|
Explain that scripts are outside the core product
|
||||||
|
|
||||||
533
doc/misc/tutorial/info/run.200
Executable file
533
doc/misc/tutorial/info/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
24
doc/misc/tutorial/info/script.200.txt
Normal file
24
doc/misc/tutorial/info/script.200.txt
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Info ------------------------------------------------------
|
||||||
|
|
||||||
|
task 1 info During that undo operation, taskwarrior displayed metadata
|
||||||
|
task 1 that is associated with the task. You can display this
|
||||||
|
with the info command, and its shortcut.
|
||||||
|
|
||||||
|
task stats There are also statistics that taskwarrior gathers, which
|
||||||
|
I can display.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Show multiple info reports
|
||||||
|
Show info using UUID
|
||||||
|
|
||||||
533
doc/misc/tutorial/intro/run.200
Executable file
533
doc/misc/tutorial/intro/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
25
doc/misc/tutorial/intro/script.200.txt
Normal file
25
doc/misc/tutorial/intro/script.200.txt
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Intro -----------------------------------------------------
|
||||||
|
|
||||||
|
http://taskwarrior.org Hello, and welcome to this taskwarrior version 1.9.3 demo.
|
||||||
|
I'm going to show you over 100 features, so don't blink, or
|
||||||
|
you'll miss some. Even experienced users are going to learn
|
||||||
|
*something*.
|
||||||
|
|
||||||
|
I will start off with basic usage, and proceed to more
|
||||||
|
sophisticated commands as we go along.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Include first time use
|
||||||
|
Include 30-second tutorial
|
||||||
|
|
||||||
533
doc/misc/tutorial/modifications/run.200
Executable file
533
doc/misc/tutorial/modifications/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
48
doc/misc/tutorial/modifications/script.200.txt
Normal file
48
doc/misc/tutorial/modifications/script.200.txt
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Modifications ---------------------------------------------
|
||||||
|
|
||||||
|
task 7 Pay rent at the end of the month Task 7 is not worded correctly, so I can modify that by
|
||||||
|
specifying a task ID and a new description. This is also
|
||||||
|
considered a bulk change, and so requires confirmation.
|
||||||
|
|
||||||
|
task add music We'll need music.
|
||||||
|
task 8 prepend Select some I can prepend to that.
|
||||||
|
task 8 append for after dinner I can append to that.
|
||||||
|
task list
|
||||||
|
|
||||||
|
task edit I can also go straight into an editor and modify anything.
|
||||||
|
|
||||||
|
task add Hire a band? <--- Sometimes the command will confuse the shell. In this case,
|
||||||
|
what would happen if there was a file named 'bands' in the
|
||||||
|
current directory? The shell would expand that wildcard,
|
||||||
|
so to avoid that, you can...
|
||||||
|
task add Hire a band\? <--- escape the wildcard...
|
||||||
|
task add "Hire a band?" <--- or quote the whole description...
|
||||||
|
|
||||||
|
task add -- Hire a band\? +dj You can also use the minus minus operator which tells
|
||||||
|
taskwarrior to stop being clever and interpret the rest
|
||||||
|
of the arguments as a task description. Otherwise, that
|
||||||
|
+dj would be interpreted as a tag.
|
||||||
|
|
||||||
|
task undo We don't need a band, so the easiest way to get rid of that
|
||||||
|
task is to undo the last change. Taskwarrior has a
|
||||||
|
complete undo stack, so you can undo all the way back to
|
||||||
|
the beginning.
|
||||||
|
task 1 delete The undo operation gets rid of the task completely, but I
|
||||||
|
task undo could also have just deleted the task, then the deletion
|
||||||
|
itself would be tracked, and also undoable.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Show more shell escapes.
|
||||||
|
show 'modify' command.
|
||||||
|
|
||||||
533
doc/misc/tutorial/priorities/run.200
Executable file
533
doc/misc/tutorial/priorities/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
21
doc/misc/tutorial/priorities/script.200.txt
Normal file
21
doc/misc/tutorial/priorities/script.200.txt
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Priorities ------------------------------------------------
|
||||||
|
|
||||||
|
task 1-3,5 priority:H Priorities are another way to organize tasks. You can use
|
||||||
|
task list priority values of high, medium and low, and taskwarrior
|
||||||
|
knows these as H, M or L.
|
||||||
|
|
||||||
|
task 3 pri: You can remove priorities by specifying a blank value.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
533
doc/misc/tutorial/projects/run.200
Executable file
533
doc/misc/tutorial/projects/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
36
doc/misc/tutorial/projects/script.200.txt
Normal file
36
doc/misc/tutorial/projects/script.200.txt
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Projects --------------------------------------------------
|
||||||
|
|
||||||
|
task add Pay teh rent on teh 31st Remember to pay the rent at the end of the month. Oh,
|
||||||
|
task 7 /teh/teh/g that was sloppy, but it can be fixed with a global
|
||||||
|
task list substitution.
|
||||||
|
|
||||||
|
task 7 project:home We can now use projects to separate home chores from the
|
||||||
|
party preparation. Let's assign that last task to the
|
||||||
|
'home' project. Note that a task may only belong to one
|
||||||
|
project.
|
||||||
|
|
||||||
|
task 1-6 project:party And we will put those first six tasks in the 'party'
|
||||||
|
project. See how we specify a range of tasks? Taskwarrior
|
||||||
|
will want to confirm bulk changes like this, but we'll
|
||||||
|
accept all changes here.
|
||||||
|
|
||||||
|
task projects Now that we have multiple projects, as shown here, we can
|
||||||
|
task list project:home use project as a filter for the list report. You can see
|
||||||
|
task li pro:par again that we can abbreviate 'list' and 'project', but when
|
||||||
|
we abbreviate 'party', we are filtering all the projects
|
||||||
|
that begin with 'par'.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Show project change stats.
|
||||||
|
|
||||||
533
doc/misc/tutorial/recurrence/run.200
Executable file
533
doc/misc/tutorial/recurrence/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
40
doc/misc/tutorial/recurrence/script.200.txt
Normal file
40
doc/misc/tutorial/recurrence/script.200.txt
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Recurrence ------------------------------------------------
|
||||||
|
|
||||||
|
task 7 info Remember the task we added to pay the rent? We're going to
|
||||||
|
task 7 due:eom recur:monthly need to do that every month. Recurring tasks allow us to
|
||||||
|
task 7 set up a single task that keeps coming back, just as you'd
|
||||||
|
expect.
|
||||||
|
|
||||||
|
task 7 until:eoy You can also limit the extent of the recurrence. Let's make
|
||||||
|
sure the task doesn't recur after the lease ends.
|
||||||
|
|
||||||
|
task recurring And there is a recurring report that shows you only the
|
||||||
|
recurring tasks.
|
||||||
|
|
||||||
|
To illustrate a point, let's set up a recurring annual task
|
||||||
|
as a reminder to pay taxes, and put the due date in the past.
|
||||||
|
This will cause task to fill in the gaps, and create a series
|
||||||
|
of severely overdue tasks.
|
||||||
|
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task long
|
||||||
|
|
||||||
|
task 11 delete # y y Deletions to recurring tasks can be escalated to include all
|
||||||
|
task list the recurrences of a task.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Explain parent/child.
|
||||||
|
Show rc.recurrence.limit.
|
||||||
|
Show propagated changes.
|
||||||
|
|
||||||
533
doc/misc/tutorial/reports/run.200
Executable file
533
doc/misc/tutorial/reports/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
33
doc/misc/tutorial/reports/script.200.txt
Normal file
33
doc/misc/tutorial/reports/script.200.txt
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Reports ---------------------------------------------------
|
||||||
|
|
||||||
|
task minimal Taskwarrior has a good many reports. There is the bare minimum.
|
||||||
|
task ls The simple.
|
||||||
|
task list The standard.
|
||||||
|
task long The kitchen sink.
|
||||||
|
task all The packrat.
|
||||||
|
task completed Nostalgia.
|
||||||
|
task recurring Groundhog day.
|
||||||
|
task waiting Surprises.
|
||||||
|
task blocked Wedged.
|
||||||
|
task unblocked Unencumbered.
|
||||||
|
task oldest Ancient history.
|
||||||
|
task newest Contemporary.
|
||||||
|
task timesheet Corporate.
|
||||||
|
task next And "what should I work on next?" This one can be useful
|
||||||
|
because it pulls a few of the highest priority tasks from
|
||||||
|
all the projects. It's the report we should all be using.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
New 'reports' command.
|
||||||
|
|
||||||
533
doc/misc/tutorial/run.193
Executable file
533
doc/misc/tutorial/run.193
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
533
doc/misc/tutorial/run.200
Executable file
533
doc/misc/tutorial/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
533
doc/misc/tutorial/shell/run.200
Executable file
533
doc/misc/tutorial/shell/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
22
doc/misc/tutorial/shell/script.200.txt
Normal file
22
doc/misc/tutorial/shell/script.200.txt
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Shell -----------------------------------------------------
|
||||||
|
|
||||||
|
task shell You can use the shell command to create a more immersive
|
||||||
|
task> projects environment. Any task command you run outside the shell
|
||||||
|
task> tags can also be run inside the shell, without the need to prefix
|
||||||
|
task> list every command with "task".
|
||||||
|
task> quit
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Show use of rlwrap.
|
||||||
|
|
||||||
533
doc/misc/tutorial/tags/run.200
Executable file
533
doc/misc/tutorial/tags/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
46
doc/misc/tutorial/tags/script.200.txt
Normal file
46
doc/misc/tutorial/tags/script.200.txt
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
[Make window 116x32 for movie recording, light text, dark background]
|
||||||
|
|
||||||
|
This is the script from which a 2.0-specific movie will be made. On the left
|
||||||
|
are the typed commands, and on the right is the voice track.
|
||||||
|
|
||||||
|
It is intended that the left and right be combined and the result will be a new
|
||||||
|
task-tutorial.5 man page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------- Tags ------------------------------------------------------
|
||||||
|
|
||||||
|
task list A task may only have one project, but it may have any number
|
||||||
|
of tags, which are just single words associated with the task.
|
||||||
|
|
||||||
|
task 3,5,6 +mall I can go to the print shop at the mall, and do all the
|
||||||
|
invitation tasks, so let's tag them all.
|
||||||
|
|
||||||
|
task long The long report shows tags, too,
|
||||||
|
|
||||||
|
task list +mall and I can use tags as a filter to any report too.
|
||||||
|
|
||||||
|
task 3 -mall I made a mistake - I can't mail out the invitations at the
|
||||||
|
mall, so let's remove that tag.
|
||||||
|
|
||||||
|
---------------------------------------- Special Tags ----------------------------------------------
|
||||||
|
|
||||||
|
task 6 +nocolor You've seen tags, but there are also 'special tags' that
|
||||||
|
task list have effects on individual tasks. The 'nocolor' special
|
||||||
|
tag causes the color rules to be bypassed.
|
||||||
|
|
||||||
|
task tags Special tags are highlighted by the 'tags' command.
|
||||||
|
|
||||||
|
task 6 -nocolor There are others - the 'nonag' special tag prevents the
|
||||||
|
generation of nag messages when you work on low priority
|
||||||
|
tasks when there are more important ones.
|
||||||
|
|
||||||
|
The 'nocal' special tag will prevent a task from appearing
|
||||||
|
on the calendar.
|
||||||
|
|
||||||
|
---------------------------------------- End -------------------------------------------------------
|
||||||
|
|
||||||
|
Show 'nocal'
|
||||||
|
Show 'nonag'
|
||||||
|
Show 'next'
|
||||||
|
Show how adding a special tag generates feedback.
|
||||||
533
doc/misc/tutorial/waiting/run.200
Executable file
533
doc/misc/tutorial/waiting/run.200
Executable file
@@ -0,0 +1,533 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
rm -f /Users/paul/.task/pending.data /Users/paul/.task/completed.data /Users/paul/.task/undo.data
|
||||||
|
|
||||||
|
echo 'data.location=~/.task' > /Users/paul/.taskrc
|
||||||
|
echo 'color=off' >> /Users/paul/.taskrc
|
||||||
|
echo 'color.summary.background=on gray3' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-red-256.theme' >> /Users/paul/.taskrc
|
||||||
|
echo '#include /usr/local/share/doc/task/rc/dark-256.theme' >> /Users/paul/.taskrc
|
||||||
|
|
||||||
|
# 1 Intro
|
||||||
|
|
||||||
|
# 2 Basic usage
|
||||||
|
echo Basic usage --------------------------------------------------------------
|
||||||
|
echo $ task add Select a free weekend in November
|
||||||
|
task add Select a free weekend in November
|
||||||
|
echo $ task add Select and book a venue
|
||||||
|
task add Select and book a venue
|
||||||
|
echo $ task add Come up with a guest list
|
||||||
|
task add Come up with a guest list
|
||||||
|
echo $ task add Mail invitations
|
||||||
|
task add Mail invitations
|
||||||
|
echo $ task add Select a caterer
|
||||||
|
task add Select a caterer
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task log Order a special cake
|
||||||
|
task log Order a special cake
|
||||||
|
echo $ task 4 duplicate /Mail/Design/
|
||||||
|
task 4 duplicate /Mail/Design/
|
||||||
|
echo $ task 4 duplicate /Mail/Print/
|
||||||
|
task 4 duplicate /Mail/Print/
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 done
|
||||||
|
task 3 done
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 3 Projects
|
||||||
|
echo Projects --------------------------------------------------------------
|
||||||
|
echo $ task add Pay teh rent on teh 31st
|
||||||
|
task add Pay teh rent on teh 31st
|
||||||
|
echo $ task 7 /teh/the/g
|
||||||
|
task 7 /teh/the/g
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 7 project:home
|
||||||
|
task 7 project:home
|
||||||
|
echo $ task 1-6 project:party
|
||||||
|
echo 'All' | task 1-6 project:party
|
||||||
|
echo $ task projects
|
||||||
|
task projects
|
||||||
|
echo $ task list project:home
|
||||||
|
task list project:home
|
||||||
|
echo $ task li pro:par
|
||||||
|
task li pro:par
|
||||||
|
|
||||||
|
# 4 Priorities
|
||||||
|
echo Priorities --------------------------------------------------------------
|
||||||
|
echo $ task 1-3,5 priority:H
|
||||||
|
echo 'All' | task 1-3,5 priority:H
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3 pri:
|
||||||
|
task 3 pri:
|
||||||
|
|
||||||
|
# 5 Tags
|
||||||
|
echo Tags --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 3,5,6 +mall
|
||||||
|
echo 'All' | task 3,5,6 +mall
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task list +mall
|
||||||
|
task list +mall
|
||||||
|
echo $ task 3 -mall
|
||||||
|
task 3 -mall
|
||||||
|
|
||||||
|
# 6 Modifications
|
||||||
|
echo Modifications --------------------------------------------------------------
|
||||||
|
echo $ task 7 Pay rent at the end of the month
|
||||||
|
echo 'Yes' | task 7 Pay rent at the end of the month
|
||||||
|
echo $ task add music
|
||||||
|
task add music
|
||||||
|
echo $ task 8 prepend Select some
|
||||||
|
task 8 prepend Select some
|
||||||
|
echo $ task 8 append for after dinner
|
||||||
|
task 8 append for after dinner
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task edit
|
||||||
|
#task edit
|
||||||
|
echo $ task add Hire a band?
|
||||||
|
#task add Hire a band?
|
||||||
|
echo $ task add Hire a band\?
|
||||||
|
#task add Hire a band\?
|
||||||
|
echo $ task add "Hire a band?"
|
||||||
|
#task add "Hire a band?"
|
||||||
|
echo $ task add -- Hire a band\? +dj
|
||||||
|
task add -- Hire a band\? +dj
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task 1 delete
|
||||||
|
echo 'y' | task 1 delete
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
|
||||||
|
# 7 Info
|
||||||
|
echo Info --------------------------------------------------------------
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task stats
|
||||||
|
task stats
|
||||||
|
|
||||||
|
# 8 Annotations
|
||||||
|
echo Annotations --------------------------------------------------------------
|
||||||
|
echo $ task 1 annotate the 13 looks good
|
||||||
|
task 1 annotate the 13 looks good
|
||||||
|
sleep 1
|
||||||
|
echo $ task 1 annotate or the 14th
|
||||||
|
task 1 annotate or the 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list rc.annotations:full
|
||||||
|
task list rc.annotations:full
|
||||||
|
echo $ task list rc.annotations:sparse
|
||||||
|
task list rc.annotations:sparse
|
||||||
|
echo $ task list rc.annotations:none
|
||||||
|
task list rc.annotations:none
|
||||||
|
echo $ task 1 denotate 14th
|
||||||
|
task 1 denotate 14th
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 9 Configuration
|
||||||
|
echo Configuration --------------------------------------------------------------
|
||||||
|
echo $ task show
|
||||||
|
task show
|
||||||
|
echo $ task config answer forty-two
|
||||||
|
echo 'y' | task config answer forty-two
|
||||||
|
echo $ task show answer
|
||||||
|
task show answer
|
||||||
|
echo $ task config answer
|
||||||
|
echo 'y' | task config answer
|
||||||
|
echo $ task rc.report.list.sort=description+ list
|
||||||
|
task rc.report.list.sort=description+ list
|
||||||
|
|
||||||
|
# 10 Defaults
|
||||||
|
echo Defaults --------------------------------------------------------------
|
||||||
|
echo $ task config default.command list
|
||||||
|
echo 'y' | task config default.command list
|
||||||
|
echo $ task
|
||||||
|
task
|
||||||
|
echo $ task config default.priority H
|
||||||
|
echo 'y' | task config default.priority H
|
||||||
|
echo $ task config default.project Work
|
||||||
|
echo 'y' | task config default.project Work
|
||||||
|
echo $ task add New task
|
||||||
|
task add New task
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task undo
|
||||||
|
echo 'y' | task undo
|
||||||
|
echo $ task config default.priority
|
||||||
|
echo 'y' | task config default.priority
|
||||||
|
echo $ task config default.project
|
||||||
|
echo 'y' | task config default.project
|
||||||
|
|
||||||
|
# 11 Aliases
|
||||||
|
echo Aliases --------------------------------------------------------------
|
||||||
|
echo $ task config alias.zzz list
|
||||||
|
echo 'y' | task config alias.zzz list
|
||||||
|
echo $ task zzz
|
||||||
|
task zzz
|
||||||
|
echo $ task z
|
||||||
|
task z
|
||||||
|
|
||||||
|
# 12 Color
|
||||||
|
echo Color --------------------------------------------------------------
|
||||||
|
echo $ task config color on
|
||||||
|
echo 'y' | task config color on
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:on_red
|
||||||
|
task 1 bg:on_red
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 1 bg:
|
||||||
|
task 1 bg:
|
||||||
|
echo $ task color
|
||||||
|
task color
|
||||||
|
echo $ task color white on red
|
||||||
|
task color white on red
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-blue-256.theme
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/dark-blue-256.theme' >> x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-red-256.theme
|
||||||
|
sed 's/blue/red/' x >x2 && mv x2 x
|
||||||
|
echo $ task color legend
|
||||||
|
task color legend
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
|
sed 's/red-//' x >x2 && mv x2 x
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
task "rc.color.project.party=on rgb001" rc.color.keyword.invit=bold list
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
|
||||||
|
# 13 Active tasks
|
||||||
|
echo Active tasks --------------------------------------------------------------
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task active
|
||||||
|
task active
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
|
||||||
|
echo $ task config journal.time on
|
||||||
|
task config journal.time on
|
||||||
|
echo $ task config rc.dateformat.xxx xxx
|
||||||
|
task config rc.dateformat.xxx xxx
|
||||||
|
echo $ task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
task config dateformat.annotation 'Y/m/d H:N'
|
||||||
|
echo $ task 2 start
|
||||||
|
task 2 start
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
echo $ task 2 stop
|
||||||
|
task 2 stop
|
||||||
|
echo $ task list venue
|
||||||
|
task list venue
|
||||||
|
|
||||||
|
# 14 Due dates
|
||||||
|
echo Due dates --------------------------------------------------------------
|
||||||
|
echo $ task 1 due:7/31/2010
|
||||||
|
task 1 due:7/31/2010
|
||||||
|
echo $ task 1 due:2wks
|
||||||
|
task 1 due:2wks
|
||||||
|
echo $ task 1 due:-2wks
|
||||||
|
task 1 due:-2wks
|
||||||
|
echo $ task 1 due:eom
|
||||||
|
task 1 due:eom
|
||||||
|
echo $ task 2 due:8th
|
||||||
|
task 2 due:8th
|
||||||
|
echo $ task 2 due:sunday
|
||||||
|
task 2 due:sunday
|
||||||
|
echo $ task 5 due:eow
|
||||||
|
task 5 due:eow
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task overdue
|
||||||
|
task overdue
|
||||||
|
echo $ task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
task rc.dateformat.report:Y-M-DTH:N:SZ list
|
||||||
|
|
||||||
|
# 15 Calendar
|
||||||
|
echo Calendar --------------------------------------------------------------
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
#vi ~/.taskrc # include /usr/local/share/doc/task/rc/holidays-US.rc
|
||||||
|
echo 'include /usr/local/share/doc/task/rc/holidays-US.rc' >> x
|
||||||
|
echo $ task calendar
|
||||||
|
task calendar
|
||||||
|
echo $ task cal 2010
|
||||||
|
task cal 2010
|
||||||
|
echo $ task rc.calendar.details:full cal
|
||||||
|
task rc.calendar.details:full cal
|
||||||
|
echo $ task rc.calendar.holidays:full cal
|
||||||
|
task rc.calendar.holidays:full cal
|
||||||
|
|
||||||
|
# 16 Recurrence
|
||||||
|
echo Recurrence --------------------------------------------------------------
|
||||||
|
echo $ task 7 info
|
||||||
|
task 7 info
|
||||||
|
echo $ task 7 due:eom recur:monthly
|
||||||
|
task 7 due:eom recur:monthly
|
||||||
|
echo $ task 7
|
||||||
|
task 7
|
||||||
|
echo $ task 7 until:eoy
|
||||||
|
task 7 until:eoy
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
task add Pay taxes due:4/15/2007 recur:yearly
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task 11 delete
|
||||||
|
printf "y\ny\n" | task 11 delete # y, y
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
|
||||||
|
# 17 Shell
|
||||||
|
echo Shell --------------------------------------------------------------
|
||||||
|
echo $ task shell
|
||||||
|
#task shell
|
||||||
|
echo '> projects'
|
||||||
|
#> projects
|
||||||
|
echo '> tags'
|
||||||
|
#> tags
|
||||||
|
echo '> list'
|
||||||
|
#> list
|
||||||
|
echo '> quit'
|
||||||
|
#> quit
|
||||||
|
|
||||||
|
# 18 Special tags
|
||||||
|
echo Special tags --------------------------------------------------------------
|
||||||
|
echo $ task 6 +nocolor
|
||||||
|
task 6 +nocolor
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task tags
|
||||||
|
task tags
|
||||||
|
echo $ task 6 -nocolor
|
||||||
|
task 6 -nocolor
|
||||||
|
|
||||||
|
# 19 Waiting
|
||||||
|
echo Waiting --------------------------------------------------------------
|
||||||
|
echo $ task add Look for new apartment due:eoy
|
||||||
|
task add Look for new apartment due:eoy
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 10 wait:12/1/2010
|
||||||
|
task 10 wait:12/1/2010
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task add Do something in a few seconds
|
||||||
|
task add Do something in a few seconds
|
||||||
|
echo $ task 11 wait:5s
|
||||||
|
task 11 wait:5s
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
sleep 5
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task 11 rc.confirmation:no delete
|
||||||
|
task 11 rc.confirmation:no delete
|
||||||
|
|
||||||
|
# 20 Dependencies
|
||||||
|
echo Dependencies --------------------------------------------------------------
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task 3 depends:6
|
||||||
|
task 3 depends:6
|
||||||
|
echo $ task 6 dep:5
|
||||||
|
task 6 dep:5
|
||||||
|
echo $ task 2 dep:1
|
||||||
|
task 2 dep:1
|
||||||
|
echo $ task 5 dep:1,2
|
||||||
|
task 5 dep:1,2
|
||||||
|
echo $ task 4 dep:1
|
||||||
|
task 4 dep:1
|
||||||
|
echo $ task long pro:party
|
||||||
|
task long pro:party
|
||||||
|
echo $ task 5 dep:-1
|
||||||
|
task 5 dep:-1
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task unblocked
|
||||||
|
task unblocked
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
echo $ task 2 info
|
||||||
|
task 2 info
|
||||||
|
echo $ task 2 done
|
||||||
|
echo 'y' | task 2 done
|
||||||
|
echo $ task 1 info
|
||||||
|
task 1 info
|
||||||
|
|
||||||
|
# 21 Reports
|
||||||
|
echo Reports --------------------------------------------------------------
|
||||||
|
echo $ task minimal
|
||||||
|
task minimal
|
||||||
|
echo $ task ls
|
||||||
|
task ls
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task long
|
||||||
|
task long
|
||||||
|
echo $ task all
|
||||||
|
task all
|
||||||
|
echo $ task completed
|
||||||
|
task completed
|
||||||
|
echo $ task recurring
|
||||||
|
task recurring
|
||||||
|
echo $ task waiting
|
||||||
|
task waiting
|
||||||
|
echo $ task blocked
|
||||||
|
task blocked
|
||||||
|
echo $ task oldest
|
||||||
|
task oldest
|
||||||
|
echo $ task newest
|
||||||
|
task newest
|
||||||
|
echo $ task timesheet
|
||||||
|
task timesheet
|
||||||
|
echo $ task next
|
||||||
|
task next
|
||||||
|
|
||||||
|
# 22 Custom report
|
||||||
|
echo Custom report --------------------------------------------------------------
|
||||||
|
echo 'report.foo.description=My own report' >> x
|
||||||
|
echo 'report.foo.columns=id,entry,description' >> x
|
||||||
|
echo 'report.foo.labels=ID,Entered,Description' >> x
|
||||||
|
echo 'report.foo.sort=entry+,description+' >> x
|
||||||
|
echo 'report.foo.filter=status:pending' >> x
|
||||||
|
echo 'task help | grep foo'
|
||||||
|
task help | grep foo
|
||||||
|
echo $ task show report.foo
|
||||||
|
task show report.foo
|
||||||
|
echo $ task foo
|
||||||
|
task foo
|
||||||
|
|
||||||
|
# 23 Charts
|
||||||
|
echo Charts --------------------------------------------------------------
|
||||||
|
echo $ task history
|
||||||
|
task history
|
||||||
|
echo $ task history.annual
|
||||||
|
task history.annual
|
||||||
|
echo $ task ghistory
|
||||||
|
task ghistory
|
||||||
|
echo $ task ghistory.annual
|
||||||
|
task ghistory.annual
|
||||||
|
echo $ task summary
|
||||||
|
task summary
|
||||||
|
|
||||||
|
# 24 Advanced filters
|
||||||
|
echo Advanced filters --------------------------------------------------------------
|
||||||
|
echo $ task list
|
||||||
|
task list
|
||||||
|
echo $ task list invit
|
||||||
|
task list invit
|
||||||
|
echo $ task list description.contains:invit
|
||||||
|
task list description.contains:invit
|
||||||
|
echo $ task list desc.word:the
|
||||||
|
task list desc.word:the
|
||||||
|
echo $ task list desc.noword:invitations
|
||||||
|
task list desc.noword:invitations
|
||||||
|
echo $ task list pro:party
|
||||||
|
task list pro:party
|
||||||
|
echo $ task list pro.is:party
|
||||||
|
task list pro.is:party
|
||||||
|
echo $ task list pro.not:party
|
||||||
|
task list pro.not:party
|
||||||
|
echo $ task list pro:party priority.over:L
|
||||||
|
task list pro:party priority.over:L
|
||||||
|
echo $ task list pro:party limit:2
|
||||||
|
task list pro:party limit:2
|
||||||
|
echo $ task list limit:page
|
||||||
|
task list limit:page
|
||||||
|
echo $ task all status:pending
|
||||||
|
task all status:pending
|
||||||
|
echo $ task all status:waiting
|
||||||
|
task all status:waiting
|
||||||
|
|
||||||
|
# 25 Import/export
|
||||||
|
echo Import/export --------------------------------------------------------------
|
||||||
|
echo $ task export.csv
|
||||||
|
task export.csv
|
||||||
|
echo $ task export.csv venue
|
||||||
|
task export.csv venue
|
||||||
|
echo $ task export.vcalendar venue
|
||||||
|
task export.vcalendar venue
|
||||||
|
echo $ task export.yaml venue
|
||||||
|
task export.yaml venue
|
||||||
|
|
||||||
|
cat <<EOF >file.text
|
||||||
|
Remember to read the task man page
|
||||||
|
EOF
|
||||||
|
cat file.text
|
||||||
|
echo $ task import file.text
|
||||||
|
printf "y\n" | task import file.text
|
||||||
|
|
||||||
|
cat <<EOF >file.yaml
|
||||||
|
%YAML 1.1
|
||||||
|
---
|
||||||
|
task:
|
||||||
|
description: Visit http://taskwarrior.org
|
||||||
|
due: 1281844800
|
||||||
|
entry: 1281289630
|
||||||
|
priority: H
|
||||||
|
project: work
|
||||||
|
status: pending
|
||||||
|
uuid: 23afada0-a446-8d5a-c213-30d99d52c4b0
|
||||||
|
...
|
||||||
|
EOF
|
||||||
|
cat file.yaml
|
||||||
|
echo $ task import file.yaml
|
||||||
|
printf "y\n" | task import file.yaml
|
||||||
|
echo $ task new limit:2
|
||||||
|
task new limit:2
|
||||||
|
|
||||||
|
# 26 Help
|
||||||
|
echo Help --------------------------------------------------------------
|
||||||
|
echo $ task help
|
||||||
|
task help
|
||||||
|
echo $ man task
|
||||||
|
#man task
|
||||||
|
echo $ man taskrc
|
||||||
|
#man taskrc
|
||||||
|
echo $ man task-color
|
||||||
|
#man task-color
|
||||||
|
echo $ man task-tutorial
|
||||||
|
#man task-tutorial
|
||||||
|
echo $ man task-faq
|
||||||
|
#man task-faq
|
||||||
|
echo $ man task-sync
|
||||||
|
#man task-sync
|
||||||
|
|
||||||
|
# 27 Wrap up
|
||||||
|
echo Wrap up --------------------------------------------------------------
|
||||||
|
echo $ task version
|
||||||
|
task version
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user