blob: aa6ca0b47e044c758f32afd045d0a3095d851606 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
todo.cpp
========
Todo list program
Usage : todo [show,add,remove,check,set]
todo use the file named ".todo.txt" in the current dir. So you can use many todo-list, one per directory.
They have no ID system. For select a task, just type it or a part of it.
You can add priority for each task "todo add priority task" or "todo set priority task-part"
To check a task type "todo check todo-part"
If many tasks contains the todo-part, all of it will be selected.
Exemple of how you can use it :
-------------
```
----[ache@ache_arch][~/test][<3]
----> todo add 1 Read H2G2
----[ache@ache_arch][~/test][<3]
----> todo show
[ ] Read 1984
[ ] Read H2G2
----[ache@ache_arch][~/test][<3]
----> todo -s 1
[ ] Read H2G2
----[ache@ache_arch][~/test][<3]
----> todo -s 4
[ ] Read 1984
----[ache@ache_arch][~/test][<3]
----> todo add Push it on github
----[ache@ache_arch][~/test][<3]
----> todo check Read
----[ache@ache_arch][~/test][<3]
----> todo
[✓] Read 1984
[✓] Read H2G2
[ ] Push it on github
----[ache@ache_arch][~/test][<3]
----> todo remove H2G2
----[ache@ache_arch][~/test][<3]
----> todo
[✓] Read 1984
[ ] Push it on github
----[ache@ache_arch][~/test][<3]
----> todo s 1 github
[ ] Push it on github
----[ache@ache_arch][~/test][<3]
----> todo check git
----[ache@ache_arch][~/test][<3]
----> todo
[✓] Read 1984
[✓] Push it on github
```
|