- Ensure that you have Java 11 installed on your device
- Get the JAR file from here
- Double click the downloaded jar file to... ENJOY DUKE!
Use Duke to keep track of your many tasks in life!
Upon launching the application, Duke will remind you of the deadline tasks that are due on the current day, and the event tasks that span over the current day.
To get this list of tasks again, either scroll up or use the Check
command with today's date.
Lists all statuses of tasks that are currently in the overall task list
Syntax: list
Outcome: numbered of iists of tasks and status of whether each task is marked
Adds a Todo, Deadline or Event task to the task list
Adds a new simple task with just a description
Syntax: Todo <description>
Example: Todo read notes
Outcome: task with description "read notes" is added into task list
Adds a new task with a description and a deadline to complete by
Syntax: Deadline <description> /<yyyy-MM-ddThh:mm>
Example: Deadline cs2103 iP Submission /2023-02-17T23:59
Outcome: task with description "cs2103 iP Submission" and deadline of 17 Feb 2023, 11:59pm is added into the task list
Adds a new task with a description that spans over 2 dates
Syntax: Event <description> /<yyyy-MM-ddThh:mm> /<yyyy-MM-ddThh:mm>
Example: Event iP Extension /2023-02-18T00:00 /2023-02-20T23:59
Outcome: task with description "iP Extension" spanning from 18 Feb 2023, 12am to 20 Feb 2023, 11:59pm is added into the task list
Marks task in task list as complete or incomplete
Marks an existing task at specified index of the overall task list as complete.
Prompt differs if the task was already marked as complete before this command.
Syntax: Mark <index>
Example: List
followed by Mark 1
Outcome: task at index 1 of the task list is marked as complete. separate prompt for if the task was already marked as complete.
If task was previously marked as incomplete
Current list:
1) [T] [ ] todo
2) [D] [ ] deadline ( by: 17 FEB 2023, FRI, 11:59PM )
3) [E] [ ] event ( from: 18 FEB 2023, SAT, 12:00AM ) ( to: 20 FEB 2023, MON, 11:59PM )
U - Mark 1
This task is marked as done:
[T] [X] todo
If task was previously marked as complete
Current list:
1) [T] [X] todo
2) [D] [ ] deadline ( by: 17 FEB 2023, FRI, 11:59PM )
3) [E] [ ] event ( from: 18 FEB 2023, SAT, 12:00AM ) ( to: 20 FEB 2023, MON, 11:59PM )
U - Mark 1
This task
[T] [X] todo
was already marked as done! Did you forget? OR U PLAYIN ME?!
Unmarks an existing task at specified index of the overall task list as incomplete.
Prompt differs if the task was already marked as incomplete before this command.
Syntax: Unmark <index>
Example: Unmark 2
Outcome: task at index 2 of the task list is marked as incomplete. separate prompt for if the task was already marked as incomplete.
If task was previously marked as incomplete
Current list:
1) [T] [ ] todo
2) [D] [ ] deadline ( by: 17 FEB 2023, FRI, 11:59PM )
3) [E] [ ] event ( from: 18 FEB 2023, SAT, 12:00AM ) ( to: 20 FEB 2023, MON, 11:59PM )
U - Unmark 2
This task
[D] [ ] deadline ( by: 17 FEB 2023, FRI, 11:59PM )
hasn't been done! How can you not know?!
If task was previously marked as complete
Current list:
1) [T] [ ] todo
2) [D] [X] deadline ( by: 17 FEB 2023, FRI, 11:59PM )
3) [E] [ ] event ( from: 18 FEB 2023, SAT, 12:00AM ) ( to: 20 FEB 2023, MON, 11:59PM )
U - Unmark 2
Okay... Being unproductive I see...:
[D] [ ] deadline ( by: 17 FEB 2023, FRI, 11:59PM )
Deletes an existing task from the current task list
Syntax: Delete <index>
Example: Delete 3
Outcome: deletes task at index 3 of the overall list
Current list:
1) [T] [ ] todo
2) [D] [X] deadline ( by: 17 FEB 2023, FRI, 11:59PM )
3) [E] [ ] event ( from: 18 FEB 2023, SAT, 12:00AM ) ( to: 20 FEB 2023, MON, 11:59PM )
U - Delete 3
The following task has been removed:
[E] [ ] event ( from: 18 FEB 2023, SAT, 12:00AM ) ( to: 20 FEB 2023, MON, 11:59PM )
Currently, your list has 2 tasks.
Searches through the task list and returns a list of tasks that match the search term
Searches for tasks that are due on a date (deadline task) and span over a specific date (event task)
Syntax: Check <yyyy-MM-dd>
Example: Check 2023-02-12
Outcome: finds all deadline tasks that are due on 12 FEB 2023 and all event tasks that start on or before 12 FEB 2023 and end on or after 12 FEB 2023
Searches for tasks that contain a specific search term in the task description
Syntax: Find <search term>
Example: Find famil
Outcome: finds all tasks that contain the term "famil" (case sensitive)
Current list:
1) [T] [ ] get family to use Duke
2) [D] [X] homework ( by: 17 FEB 2023, FRI, 11:59PM )
3) [E] [ ] families connect event ( from: 18 FEB 2023, SAT, 12:00AM ) ( to: 20 FEB 2023, MON, 11:59PM )
U - Find famil
You have 1 task containing the following search term:
famil
1) [T] [ ] get family to use Duke
2) [E] [ ] families connect event ( from: 18 FEB 2023, SAT, 12:00AM ) ( to: 20 FEB 2023, MON, 11:59PM )
Ends current session
Syntax: Bye
Outcome: Duke will be sad to see you leave but duke knows you will return
Click on any of the command syntax to get to the detailed explanation of each command!
Command Syntax | Function |
---|---|
List |
Lists all tasks |
Todo <task description> |
Add todo task |
Deadline <task description> /<yyyy-MM-ddThh:mm> |
Add deadline task |
Event <task description> /<yyyy-MM-ddThh:mm> /<yyyy-MM-ddThh:mm> |
Add event task |
Delete <index> |
Delete task at index |
Mark <index> |
Mark task at index as complete |
Unmark <index> |
Mark task at index as incomplete |
Find <search term> |
Get tasks containing search term |
Check <yyyy-MM-ddThh:mm> |
Get tasks containing date |
Bye |
End Session |