@@ -10,9 +10,9 @@ BadGPT is a **desktop app for managing your tasks**.
10
10
5 . Type the command in the command box and press Enter to execute it. Here are some example commands to get you started:
11
11
- ` list ` : Lists all tasks.
12
12
- ` todo return book ` : Adds a todo task with the description return book.
13
- - ` mark 2 ` : Marks the 2nd task in the list as complete.
14
13
- ` deadline homework /by 2024-02-23 ` : Adds a deadline task with the description homework and the deadline 23 Feb 2024.
15
- - ` delete 3 ` : Deletes the 3rd task in the list.
14
+ - ` mark 2 ` : Marks the 2nd task in the list as complete.
15
+ - ` delete 2 ` : Deletes the 2nd task in the list.
16
16
- ` bye ` : Exits the app.
17
17
6 . Refer to the Features below for details of each command.
18
18
@@ -22,33 +22,65 @@ Lists all current tasks in the list.
22
22
23
23
Format: ` list `
24
24
25
+ Sample output:
26
+ ```
27
+ 1. [T][ ] return book
28
+ 2. [D][ ] submit ip (by: 23 Feb 2024)
29
+ 3. [E][ ] recess week (from: 24 Feb 2024 to: 3 Mar 2024)
30
+ 4. [T][ ] borrow book
31
+ ```
32
+
25
33
### Marking task as complete: ` mark `
26
34
Marks the task in the specified position in the list as complete.
27
35
28
36
Format: ` mark TASK_NUMBER `
29
37
30
38
Example: ` mark 2 `
31
39
40
+ Sample output:
41
+ ```
42
+ Nice! I've marked this task as done:
43
+ [D][X] submit ip (by: 23 Feb 2024)
44
+ ```
45
+
32
46
### Marking task as incomplete: ` unmark `
33
47
Marks the task in the specified position in the list as incomplete.
34
48
35
49
Format: ` unmark TASK_NUMBER `
36
50
37
51
Example: ` unmark 2 `
38
52
53
+ Sample output:
54
+ ```
55
+ wyd bro why undo
56
+ [D][ ] submit ip (by: 23 Feb 2024)
57
+ ```
58
+
39
59
### Adding a new todo task: ` todo `
40
60
Adds a new todo task to the task list.
41
61
42
62
Format: ` todo TASK_DESCRIPTION `
43
63
44
64
Example: ` todo return book `
45
65
66
+ Sample output:
67
+ ```
68
+ Added task: [T][ ] return book
69
+ Now you have 5 task(s) in the list.
70
+ ```
71
+
46
72
### Adding a new deadline task: ` deadline `
47
73
Adds a new deadline task to the task list.
48
74
49
75
Format: ` deadline TASK_DESCRIPTION /by YYYY-MM-DD `
50
76
51
- Example: ` deadline ip submission /by 2024-02-23 `
77
+ Example: ` deadline submit ip /by 2024-02-23 `
78
+
79
+ Sample output:
80
+ ```
81
+ Added task: [D][ ] submit ip (by: 23 Feb 2024)
82
+ Now you have 6 task(s) in the list.
83
+ ```
52
84
53
85
### Adding a new event task: ` event `
54
86
Adds a new event task to the task list.
@@ -57,19 +89,39 @@ Format: `event TASK_DESCRIPTION /from YYYY-MM-DD /to YYYY-MM-DD`
57
89
58
90
Example: ` event recess week /from 2024-02-24 /to 2024-03-03 `
59
91
92
+ Sample output:
93
+ ```
94
+ Added task: [E][ ] recess week (from: 24 Feb 2024 to: 3 Mar 2024)
95
+ Now you have 7 task(s) in the list.
96
+ ```
97
+
60
98
### Deleting a task: ` delete `
61
99
Deletes the task in the specified position from the task list.
62
100
63
101
Format: ` delete TASK_NUMBER `
64
102
65
103
Example: ` delete 3 `
66
104
105
+ Sample output:
106
+ ```
107
+ This task has been removed: [E][ ] recess week (from: 24 Feb 2024 to: 3 Mar 2024)
108
+ Now you have 6 task(s) in the list.
109
+ No, what are you waiting for? Do it! Just do it!
110
+ ```
111
+
67
112
### Filtering tasks: ` find `
68
113
Finds the tasks in the list which contain a specified keyword or phrase.
69
114
70
115
Format: ` find KEYWORD `
71
116
72
- Example: ` find book ` or ` find buy groceries `
117
+ Example: ` find book `
118
+
119
+ Sample output:
120
+ ```
121
+ Here are the tasks in your list:
122
+ 1. [T][ ] return book
123
+ 2. [T][ ] borrow book
124
+ ```
73
125
74
126
### Finding tasks by date: ` date `
75
127
Finds any tasks occurring before or on the specified date.
@@ -78,6 +130,12 @@ Format: `date YYYY-MM-DD`
78
130
79
131
Example: ` date 2024-02-23 `
80
132
133
+ Sample output:
134
+ ```
135
+ Here are the tasks in your list:
136
+ 1. [D][ ] submit ip (by: 23 Feb 2024)
137
+ ```
138
+
81
139
### Exiting the program: ` bye `
82
140
Exits the program.
83
141
0 commit comments