Welcome to Duke System, Duke is an app for managing daily task and scheduler, optimized for use via a Command Line in User Interface while still having the benefits of a Graphical User Interface (GUI).
java -jar NUS.Duke.Launcher.jar
to open up the application.help
in the command box and press Enter
to execute it.Help
: Lists the commands the user can use to interact with the application.
Todo
: Create todo task.
Event
: Create event task.
Done
: Mark task as done.
List
: List all the tasks.
Find
: Find tasks with matching task description.
Delete
: Delete task by task id.
Delete All
: Delete all tasks.
Save
: Save the tasks to file.
Keyword
- Describe actionDescribe action and its outcome.
Example of usage:
todo
- create todo task actiontodo (task description)
e.g. todo do homework
Expected outcome:
Got it. I've added this task:'
[T][✗]do homework
Now you have 1 tasks in the list
#### event
- create event task action
event (task description) /at (event timing description)
e.g. event project meeting /at tmr afternoon
Expected outcome:
Got it. I've added this task:
[E][✗]project meeting (at: tmr afternoon )
Now you have 1 tasks in the list
#### deadline
- create deadline task action
deadline (task description) /by (deadline date in format of yyyy-mm-dd)
e.g. deadline submit project /by 2020-09-28
Expected outcome:
Got it. I've added this task:
[D][✗]submit project (by: 2020 Sep 28 )
Now you have 1 tasks in the list
#### done
- mark task as done action
done (id)
e.g. done 1
Expected outcome:
Nice! I've marked this task as done:
[✓]project meeting
#### list
- list all tasks action
list
Expected outcome:
1. [T][✗]do homework
2. [E][✓]project meeting (at: tmr afternoon )
3. [D][✗]submit project (by: 2020 Sep 28 )
#### find
- find task by description action
find (task description)
e.g. find project
Expected outcome:
Here are the matching tasks in your list:
2:[E][✓]project meeting (at: tmr afternoon )
3:[D][✗]submit project (by: 2020 Sep 28 )
#### delete
- find task by description action
delete (task id)
e.g. delete 1
Expected outcome:
Noted. I've removed this task:
[T][✗]do homework
Now you have 2 tasks in the list
#### deleteall
- delete all tasks action
deleteall
Expected outcome:
All the task has been deleted.
#### save
- save task to file action
save
Expected outcome:
Successfully wrote to the file.
## Special Handle When user use command promt to run the jar file, they should use the following command.
chcp
and enter, you will see this Active code page: 65001
java -jar -Dfile.encoding=UTF-8 Duke.jar
Having trouble with executing the program? Contact me at E0261620@u.nus.edu and I’ll help you sort it out.