____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|
Duke is a project for students to store their tasks and manage them via a Command Line Interface (CLI) if you can type fast you can manage your tasks faster than traditional apps.
-
Ensure you have Java 11 or above installed in your Computer.
-
Download the latest duke.jar from here.
-
Copy the file to the folder you want to use as the home folder for Duke
-
Open the command line on your computer and type java -jar <full-file-directory/ip.jar> You should see the following
-
Type the command in the field and press Enter to execute it. e.g. typing todo homwork and pressing enter will add a new todo task Some example commands you can try
- list : Lists all your tasks.
- todo CS2113 ip : Adds a task named CS2113 ip to the task list.
- delete 2 : Deletes the 2nd task in the current list.
- bye : Exits the app.
-
Refer to the [Features] below for details of each command
notes about the command format:
-
Words in UPPER_CASE are the parameters to be supplied by the user. e.g todo TASK, TASK is a parameter which can be used as todo HOMEWORK
Adds a todo task to the task list.
Format: todo TASK
Example:
Adds a deadline task to the task list.
Format: deadline TASK /by DEADLINE
note that dates and times can also be used as a parameter for DEADLINE as YYYY-MM-DDTHH:mm format (e.g., 2020-09-09T19:00) which will output as MM-DD-YYY HH:mm (e.g., 09-09-2020 19:00)
Example:
Adds a event task to the task list.
Format: event TASK /at TIME
note that dates and times can also be used as a parameter for TIME as YYYY-MM-DDTHH:mm format (e.g., 2020-09-09T19:00) which will output as MM-DD-YYY HH:mm (e.g., 09-09-2020 19:00)
Example:
Finds a task using a keyword and shows a list of tasks containing that keyword
Format: find KEYWORD
Shows a descriptive list of all tasks and its status
Format: list
Deletes an existing task in the task list
Format: delete INDEX
Example:
Exits the program
Format: bye
The tasks are saved in the hard disk automatically after the user enters bye and exits the program There is no need to save manually
Q: How do I transfer my data to another Computer?
A: Install the app in the other computer and overwrite the empty data file it creates with the file that contains the data of your previous AddressBook home folder.
Action | Format, Examples |
---|---|
todo | todo TASK e.g todo cs2113 tutorial 3 |
deadline | deadline TASK /by DEADLINE e.g deadline homework /by tonight OR deadline project ip /by 2020-10-23T19:00 |
event | event TASK /at TIME e.g event CS2101 meeting /at 9pm OR event project ip /at 2020-10-23T19:00 |
list | list |
delete | delete INDEX e.g delete delete 3 |
find | find KEYWORD e.g find cs2113 |
bye | bye |