Author: Wu Sibing
Since: Feb 2020
help
todo
deadline
event
list
done
delete
check
find
clear
bye
Duke is for those who want to record their “todo list”. It allows user to add in, update, and keep track of their own daily tasks. Duke adopts Command Line Interface (CLI). If you can type fast, AB3 can get your contact management tasks done faster than traditional GUI apps. Interested? Jump to the Section 2, “Quick Start” to get started. Enjoy!
java -jar duke.jar
. The CLI should appear in a few seconds. It should be a welcome page with existing task list.help
and pressing Enter will open the help window.todo read book
: add the task “read book” into the task listlist
: list all the tasks in the task listbye
: exit the Duke programThe word with UPPER_CASE: parameter.
The date format: yyyy-mm-dd.
help
Format: help
todo
Adds an ordinary task to the task list.
Format: todo TASK
TASK can be any content.
Examples:
todo read book
todo join sports club
deadline
Adds a task with a deadline to the task list.
Format: deadline TASK /by yyyy-mm-dd
TASK can be any content.
Reminder: The deadline date format must be yyyy-mm-dd.
Examples:
deadline return book /by 2020-06-06
deadline CS2113 iP project /by 2020-03-01
event
Adds an event task on a specific date to the task list.
Format: event TASK /at yyyy-mm-dd
TASK can be any content.
Reminder: The deadline date format must be yyyy-mm-dd.
Examples:
event project meeting /at 2020-03-01
list
Shows a list of all tasks in the Duke task list.
Format: list
done
Marks a task as done.
Format: done TASK_NUMBER
TASK_NUMBER is the number of that task in the task list. It is an integer.
Examples:
done 1
done 4
delete
Deletes the specified task from the Duke task list.
Format: delete TASK_NUMBER
TASK_NUMBER is the number of that task in the task list. It is an integer.
Example:
delete 1
delete 4
check
Displays all the tasks on a specified date.
Format: check /on yyyy-mm-dd
Reminder: The deadline date format must be yyyy-mm-dd.
Example:
check /on 2020-03-03
find
Finds tasks whose names contain the given keyword.
Format: find KEYWORD
Example:
find book
find basketball
clear
Clears all entries from the Duke task list.
Format: clear
bye
Exit the Duke program.
Format: bye
Task list data are saved in the hard disk automatically after any command that changes the task list.
There is no need to save manually.
Q: How do I transfer my data to another Computer?
A:
help
todo TASK
deadline TASK /by yyyy-mm-dd
event TASK /by yyyy-mm-dd
list
done TASK_NUMBER
delete TASK_NUMBER
check /on yyyy-mm-dd
find KEYWORD
clear
bye