Duke is a task management tool which helps you to keep track of various task. It is a command line interface (CLI) which allows you to input your tasks by entering commands.
you can create 3 different types of tasks - event
, todo
and deadline
.
Delete a task from the task list.
Find task(s) in the task list.
List out all task in the task list.
Mark the task in the task list to be ‘Done’ to show that it has been completed.
Revert the operation.
Exit the application.
todo
- To add a todo
task in the task list Create a todo task that will be added to the task list with the format todo <task description>
todo gym
Got it. I've added this task:
[T][X]gym
Now you have 1 tasks in the list.
event
- To add a event
task in the task list Create a event task that will be added to the task list with the format event <task description> /at <Date format in YYYY-MM-DD> <time>
event edmond's birthday /at 2020-09-17 14:00 18:00
Got it. I've added this task:
[E][X]edmond's birthday (at: Sep 17 2020 2.00 PM to 6.00 PM)
Now you have 1 tasks in the list.
deadline
- To add a deadline
task in the task list Create a deadline task that will be added to the task list with the format deadline <task description> /by <Date format in YYYY-MM-DD>
deadline math homework /by 2019-08-02 19:00
Got it. I've added this task:
[D][X] math homework (by:Aug 2 2019 7 PM)
Now you have 1 tasks in the list.
delete
- To delete a task in the task listDeletes a task in the task list with corresponding index number with the format in ‘delete
delete 1
Noted. I've removed this task:
[T][X]gym
Now you have 2 tasks in the list.
find
- To find task(s) in the task listFind task(s) in the task list using a keyword with the format in ‘find
find birthday
Here are the tasks in your list:
1.[E][X] edmond's birthday (at: Sep 17 2020 2.00 PM to 6.00 PM)
list
- To list all task(s) in the task listDisplay all the task(s) in the task list with the format in list
list
Here are the tasks in your list:
1.[E][X] edmond's birthday (at: Sep 17 2020 2.00 PM to 6.00 PM)
2.[D][X] math homework (by:Aug 2 2019 7 PM)
done
- Mark a task as ‘Done’Marks a task in the task list as ‘Done’ with corresponding index number with the format in ‘done
done 2
Nice!. I've marked this task as done:
[D][tick] math homework (by: Aug 2 2019 7 PM)
Undo
- Revert the operationsRevert back to the previous status. Able to undo
all the way to the time when the application is just launched
undo
Last operation delete 2 -> deletes the deadline task
Before Undo
Here are the tasks in your list:
1.[E][X] edmond's birthday (at: Sep 17 2020 2.00 PM to 6.00 PM)
After Undo
Here are the tasks in your list:
1.[E][X] edmond's birthday (at: Sep 17 2020 2.00 PM to 6.00 PM)
2.[D][tick] math homework (by:Aug 2 2019 7 PM)
bye
- Exit the application“Terminates the application. The application will exit after 3 seconds.”
bye
Bye! Hope to see you again soon!