todo DESCRIPTION
- Adds a new todo task with DESCRIPTION as the task nameExample of usage:
todo take a nap
Expected outcome:
deadline DESCRIPTION /by YYYY-MM-DD time
- Adds a new Deadline task with DESCRIPTION as the task name and YYYY-MM-DD as the date and time as the time dueExample of usage:
deadline finish project /by 2020-09-22 6pm
Expected outcome:
event DESCRIPTION /at YYYY-MM-DD time
- Adds a new Event task with DESCRIPTION as the task name and YYYY-MM-DD as the date and time as the time event occursExample of usage:
event concert /at 2020-09-23 7pm
Expected outcome:
list
- Lists all tasks currently in the task listExample of usage:
list
Expected outcome:
find KEYWORDS
- Finds tasks that matches all KEYWORDS givenExample of usage:
find concert
Expected outcome:
delete INDEX
- Deletes task corresponding to the INDEXExample of usage:
delete 5
Expected outcome:
done INDEX
- Marks task corresponding to the INDEX as doneExample of usage:
done 5
Expected outcome:
reschedule INDEX YYYY-MM-DD TIME
- Reschedules task with given INDEX to new date using YYYY-MM-DD and TIME givenExample of usage:
reschedule 4 2020-10-11 5pm
Expected outcome:
bye
- Exits the programExample of usage:
bye
Expected outcome:
Program exits
Tasks are saved in the data.txt
file in the data
directory. The file is updated whenever the task list is modified.