Starter code for the Duke project
This project is maintained by Shannonwje
Is this your first time here?
Shannon’s Duke is Shannon’s implementation of Duke and it is an online to-do-list tracker.
In your to-do-list, you can categorise your tasks into these 3 types of tasks into your list:
[T]
: These are tasks that are to be done, no deadlines, just at your own pace and at your own comfort. No pressure, just do it![D]
: These are tasks that have a deadline and must be done before a certain deadline.[E]
: These are events that you need to be at and not just tasks to achieve.These tasks added into the list can also be marked as done when completed. They are all automatically unmarked when first added into the list
[T][0] do laundry
[E][1] attend seminar (at: school hall)
Here are some instructions and introductions to familiarise yourself with using this program.
NOTE: All commands are case-sensitive, but task descriptions are not case-sensitive.
todo
Adds a Todo task into your list
Format: todo <DESCRIPTION>
Examples:
todo buy lunch
todo finish homework
deadline
Adds a Deadline task into your list.
Format: deadline <DESCRIPTION> /by <DEADLINE OF TASK>
Examples:
deadline submit proposal /by Wednesday 3PM
deadline make reservations at restaurant /by tonight 7PM
event
Adds an Event task into your list
Format: event <DESCRIPTION> /at <VENUE/DATE/TIME OF TASK>
Examples:
event Secondary School Reunion /at Concorde Hotel, 14th Mar, 7PM
event Mom's Birthday Celebrations /at Home, 28th Sept, 6PM
remove
Removes task at the stated index
Format: remove <INDEX>
Example:
remove 2
- Removes Task at index 2 of the listdone
Marks task at the stated index as done
Format: done <INDEX>
Example:
done 6
- Marks task 6 in list as done.Returns the task to be [1]
rather than [0]
list
Shows all the tasks inside the list, indexed from the tasks that are added first to the the latest entry.
Format: list
find
Finds the tasks with containing the keywords The command is not case-sensitive.
Format: find <KEYWORD>
Example:
find work
- finds tasks containing the keyword ‘work’Returns homework
and Work from Home
(assuming these are tasks inside the list)
help
Returns a list of all the commands and a description of their usage
Format: help
bye
Format: bye
Task list data are saved in the hard disk automatically after the program is exited.
There is no need to save manually.