User Guide:
Setting up and Running the program
Requires Java JDK 11 or later installed.
Double click on duke.jar to start program.
How to start
- Start by typing anything in the text box at the bottom of the window.
- Instruction/error messages will guide you along.
- The following are the commands and how to use them.
- Formats have to be followed strictly.
Commands and instructions
Note:
- <INFO> denotes information to be filled in by the user
- Date formats used are of the form date/month/year
- Time formats used below are of a 24hr format (e.g. 2359)
View all the commands
-
Format
!commands
-
Displays the following list of text commands in the window.
1) !commands | returns a list of text commands |
1) list | lists out all the current tasks |
1) bye | saves the current tasks into a file and exits program |
1) done | format: “done |
1) todo | format: “todo |
1) deadline | format: “deadline |
1) event | format: “event |
1) delete | format: “delete |
1) find | format: “find |
View all the tasks in the list
-
Format list
- Displays the list of tasks currently in the task list.
Quit the program
-
Format
bye
- Saves the current tasks into a file and exits program.
- File saved is a .txt file.
- File location will be displayed in the window as well.
- After which programs closes in 5 seconds.
Mark a task as done
-
Format:
done <interger task number>
-
Example:
done 1
, marks task 1 as done. -
Marks a designated task in the task list as done
Add a todo task
-
Format:
todo <description>
-
Example:
todo have a break
, adds a todo task with the description: “have a break”. -
Adds a todo task to the task list.
Add a deadline task
-
Format:
deadline <description> /by <dd/MM/yyyy HHmm>
-
Example:
deadline assignment /by 16/9/2020 2359
, adds a deadline task with the description: “assignment”, and the time by 16/9/2020, 2359hrs. -
Adds a deadline task to the task list.
Add an event task
-
Format:
event <description> /at <dd/MM/yyyy HHmm>
-
Example:
event birthday /at 16/9/2020 1300
, adds an event with the description: “birthday”, and the time at 16/9/2020, 1300hrs. -
Adds an event task to the task list.
Delete a task
-
Format
delete <task number>
-
Example:
delete 1
, deletes task 1 from the list. -
Deletes a designated task from the task list.
Find a task
-
Format
find <string>
-
Example:
find test
, displays all tasks with descriptions containing “test” partially or as a whole. -
Display tasks with matching string.