data/duke.txt in this location.java -jar duke.jar.⚠️ WARNING:
Please do not edit duke.txt yourself. If ChatALot cannot parse its contents, it will clear all existing data.
After the data is cleared, a warning message will be displayed on your terminal/console.
list - List out all of your current tasksBack to Summary
list
Here are the tasks in your list:
1. [T][ ] Assignment 1
2. [E][ ] Lecture (from: 01-Jan-2023 1200 to: 01-Jan-2023 1400)
stats - Get some statistics of your tasksBack to Summary
Shows some statistics of your tasks, namely the number of completed and incomplete tasks as well as lists of the incomplete deadline and event tasks due on the current day.
stats
Number of completed tasks: 1
Number of incomplete tasks: 3
Deadline tasks due today:
[D][ ] Assignment (by: 17-Sep-2023 1800)
Event tasks due today:
[E][ ] Lecture (from: 17-Sep-2023 1200 to:
17-Sep-2023 1400)
find - Find a particular task by a keywordBack to Summary
Shows the list of tasks with description containing the specified keyword (case-sensitive).
find <keyword>
find Lect
Here are the matching tasks in your list:
1. [E][X] CS2103T Lecture (from:
15-Sep-2023 1600 to: 15-Sep-2023 1800)
2. [E][ ] Lecture (from: 17-Sep-2023 1200 to:
17-Sep-2023 1400)
mark - Mark a task as completedBack to Summary
mark <index of task>
mark 1
Nice! I've marked this task as done:
[E][X] CS2103T Lecture (from:
15-Sep-2023 1600 to: 15-Sep-2023 1800)
unmark - Mark a task as incompleteBack to Summary
unmark <index of task>
unmark 1
OK, I've marked this task as not done yet:
[E][ ] CS2103T Lecture (from:
15-Sep-2023 1600 to: 15-Sep-2023 1800)
delete - Delete a taskBack to Summary
delete <index of task>
delete 1
Noted. I've removed this task:
[E][ ] CS2103T Lecture (from:
15-Sep-2023 1600 to: 15-Sep-2023 1800)
Now you have 3 tasks in the list.
todo - Create a todo taskBack to Summary
Creates a todo task, containing a task description.
todo <task description>
todo Tutorial
Got it. I've added this task:
[T][ ] Tutorial
Now you have 4 tasks in the list.
deadline - Create a deadline taskBack to Summary
Creates a deadline task, containing a task description and a deadline date/time.
deadline <task description> /by <deadline date/time>
yyyy-MM-dd HHmmdeadline Assignment /by 2023-09-20 1900
Got it. I've added this task:
[D][ ] Assignment (by: 20-Sep-2023 1900)
Now you have 5 tasks in the list.
event - Create an event taskBack to Summary
Creates an event task, containing a task description, a start and end date/time.
event <task description> /from <start date/time> /to <end date/time>
yyyy-MM-dd HHmmevent Lecture /from 2023-09-20 1900 /to 2023-09-20 2100
Got it. I've added this task:
[E][ ] Lecture (from: 20-Sep-2023 1900 to:
20-Sep-2023 2100)
Now you have 6 tasks in the list.
bye - End the programBack to Summary
Signs off and closes the chatbot window automatically.
bye
Bye. Hope to see you again soon!
This window will close shortly.