Duke User Guide
Duke is a command line interface program capable of handling tasks such as Todo, Events and Deadlines. This User Guide will demonstrate the capabilities of Duke.
Running duke Duke
- Download the latest version of Java 11
- Navigate to path of
Duke.jar
file - Run
java -jar Duke.jar
- Duke will automatically save any tasks added into an
output.txt
file - On start up, Duke will also load existing tasks from
output.txt
file - To exit Duke, input
bye
command
Duke Task Types
- Todo
- Event
- Deadline
Main Features
- Add different types of tasks
- List all tasks
- Mark task as done
- Find tasks from list
- Delete a task from list
Feature List
1.1. Add Todo task
Users are able to add todo tasks into Duke.
Usage
todo <description of todo task>
- Adds a single todo task into task list
Example of usage:
todo buy bread
Expected outcome:
_________________
Got it! You’ve added a todo task:
[T][✘] buy bread
You now have 1 task in the list
_________________
1.2. Add Event task
Users are able to add events into Duke.
Usage
event <description of event> /at <date and time of event>
- Adds an event into task list
Example of usage:
event project meeting /at Monday 2pm
Expected outcome:
_________________
Got it! You’ve added an event task:
[E][✘] project meeting (at: Monday 2pm)
You now have 2 tasks in the list
_________________
1.3. Add Deadline task
Users are able to add deadline into Duke
Usage
deadline <description of deadline> /by <date and time of deadline>
- Adds a deadline into task list
Example of usage:
deadline CS2113T assignment /by Monday 12pm
Expected outcome:
_________________
Got it! You’ve added a deadline task:
[D][✘] CS2113T assignment (by: Monday 12pm)
You now have 3 tasks in the list
_________________
2. List all tasks
Users are able to view all tasks in their list
Usage
list
- Lists all tasks in task list
Example of usage:
list
Expected outcome:
_________________
Here are the tasks in your list:
- [T][✘] buy bread
- [E][✘] project meeting (at: Monday 2pm)
- [D][✘] CS2113T assignment (by: Monday 12pm)
_________________
3. Mark task as done
Users are able to mark a task in the list as done
Usage
done <index of task on list>
- Marks a single task as done
Example of usage:
done 1
Expected outcome:
____________________
Awesome! I’ve marked the following task as done:
[T][✓] buy bread
_________________
4. Find tasks
Users are able to find tasks in task list based on keywords.
Usage
find <keywords to search for>
- Finds all tasks that contains keywords
Example of usage:
find bread
Expected outcome:
_________________
I’ve found the following tasks matching your search:
- [T][✓] buy bread
_________________
5. Delete task
Users are able to delete tasks in task list
Usage
delete <index of task to be deleted>
- Deletes a single task from the task list
Example of Usage:
delete 1
Expected outcome:
_________________
Got it! I’ve removed this task:
[T][✓] buy bread
You now have 2 tasks in the list
_________________