Starter code for the Duke project
M4RCK is a helper bot created to manage an individual’s daily tasks.
You can trust him with your personal data.
Format: todo <description>
M4RCK will add a to-do task provided to the user’s list of tasks.
todo finish README doc
Format: deadline <description> /by <yyyy-mm-dd>
M4RCK will add a deadline task along with the date provided to the user’s list of tasks.
Providing an invalid date format will return an error message.
deadline CS2103T iP /by 2020-03-02
Format: event <description> /at <yyyy-mm-dd>
M4RCK will add an event along with the date provided to the user’s list of tasks.
Providing an invalid date format will return an error message.
event CS2103T finals /at 2020-04-25
Format: list
M4RCK will display all the tasks currently in the user’s list.
list
Format: done <index>
M4RCK will mark the task at the specified index as done.
Providing an invalid index will return an error message.
done 2
will mark the second task as done
Format: delete <index>
M4RCK will delete the task at the specified index.
Providing an invalid index will return an error message.
delete 3
will delete the third task
Format: find <keyword>
M4RCK will display a list of tasks that contains the keyword specified.
find exam
Format: bye
M4RCK will bid farewell and automatically close the window in 2 seconds.
bye
When adding a task (i.e. todo, deadline or event), M4RCK will check if there exists a duplicated task within the user’s list and prevents user from adding duplicated tasks.