Duke is a task scheduler to help you manage your tasks, to be used via a Command Line Interface (CLI).
- Quick start
- Features
- Adding a task
- todo:
todo - event:
event - deadline:
deadline
- todo:
- Listing:
list - Marking a task as done:
done - Deleting a task:
delete - Searching for tasks:
find - Exit programme:
bye
- Adding a task
- Command Summary
- Ensure you have Java 11 or above installed on your computer.
- Download the latest
ip.jarfile. - Copy the file to your desired folder.
- Using command prompt, use
cdto navigate to the folder. - Run the
.jarfile in command prompt by enteringjava -jar ip.jar - Refer to the guide below for details of each command.
Add 3 different kinds of tasks to the list.
Add a todo task to the task list.
Example of usage:
todo read book
Expected outcome:
Got it. I've added this task:
[T][ ] read book
Now you have 1 tasks in the list
--------------------------------------------
Add an event task in the task list.
Example of usage:
event project meeting /at Thursday 3-6pm
Expected outcome:
Got it. I've added this task:
[E][ ] project meeting (at: Thursday 3-6pm)
Now you have 2 tasks in the list
--------------------------------------------
Add a deadline task in the task list.
Example of usage:
deadline return book /by June 6th
Expected outcome:
Got it. I've added this task:
[D][ ] return book (by: June 6th)
Now you have 3 tasks in the list
--------------------------------------------
Show all existing tasks from the list.
Expected outcome:
Here are the tasks in your list:
1. [T][ ] read book
2. [E][ ] project meeting (at: Thursday 3-6pm)
3. [D][ ] return book (by: June 6th)
--------------------------------------------
Mark a task in the task list as done based on the index of the task.
Example of usage:
done 2
Expected outcome:
Nice! I've marked this task as done:
[E][X] project meeting (at: Thursday 3-6pm)
--------------------------------------------
Example of usage:
delete 1
Expected outcome:
Noted. I've removed this task:
[T][ ] read book
--------------------------------------------
Find a list of tasks in the task list that containing the keyword given.
Example of usage:
find book
Expected outcome:
Here are the matching tasks in your list:
1. [D][ ] return book (by: June 6th)
--------------------------------------------
Print goodbye message and end the program.
Example of usage:
bye
Expected outcome:
--------------------------------------------
Bye! Have a nice day.
--------------------------------------------
| Command | Description |
|---|---|
| todo [description] | Adds a todo task with description |
| deadline [description] /by [deadline time] | Adds a deadline task with description and deadline |
| event [description] /at [event time] | Adds an event task with description and event time |
| delete [index] | Deletes index of task |
| done [index] | Mark index of task as done |
| find [keyword] | Find the specified keyword from the list of tasks |
| list | Display the current list of tasks |
| bye | Exits the program |