CS2103 AY20/21 Sem 1 Project - A greenfield Java project based on the generic project called Project Duke.
This is a greenfield Java project based on the generic project called
Project Duke.
The result of this project is a personal assistant chat-bot named Cipher
capable of keeping track of tasks given by the user.
Java 11 or above installed in your Computer.duke.jar from here.
helpDisplays a list of commands
Cipher provides three types of tasks: ToDo, Event, and Deadline.
For Events and Deadlines, Cipher accepts the following date time format:
YYYY-MM-DDTHH:MM:SSYYYY-MM-DDTHH:MMYYYY-MM-DDHH:MM:SSHH:MMtodoAdds a ToDo task to the task list.
Format: todo TASK_DESCRIPTION
Example: todo study for test
Expected outcome:
Got it. I've added this task:
[T][✗] study for test
You have 1 task on your list.
eventAdds an Event to the task list.
Format: event TASK_DESCRIPTION /at DATE_TIME_FORMAT
Example: event mom's bday /at 2020-11-27
Expected outcome:
Got it. I've added this task:
[E][✗] mom's bday (27 Nov 2020)
You have 2 tasks on your list.
deadlineAdds a Deadline to the task list.
Format: deadline TASK_DESCRIPTION /by DATE_TIME_FORMAT
Example: deadline cs2103 project /by 2020-09-18T23:59
Expected outcome:
Got it. I've added this task:
[D][✗] cs2103 project (18 Sep 2020, 11:59 pm)
You have 3 tasks on your list.
doneMarks tasks with the given index as done.
Format: done INDEX...
Example: done 1 3
Expected outcome:
Nice! I've marked these tasks as done:
[T][✓] study for test
[D][✓] cs2103 project (18 Sep 2020, 11:59 pm)
deleteDeletes tasks with the given index.
Format: delete INDEX...
Example: delete 1 3
Expected outcome:
Noted. I've removed these tasks:
[T][✓] study for test
listList the tasks on the task list.
Format: list [DATE_FORMAT]
Example: list
Expected outcome:
1. [E][✗] mom's bday (27 Nov 2020)
2. [D][✓] cs2103 project (18 Sep 2020, 11:59 pm)
Example: list 2020-11-27
Expected outcome:
Here's your list on 27 Nov 2020:
1. [E][✗] mom's bday (27 Nov 2020)
findFind tasks with the givnen keyword(s).
Format: find KEYWORD...
Example: find die hard
Expected outcome:
Here are the tasks with the given keyword:
1. [T][✗] die
2. [T][✗] die young
3. [T][✗] cry hard
byeExits the program.
Cipher’s data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
| Action | Format | Examples |
|---|---|---|
| Add a ToDo | todo TASK_DESCRIPTION |
todo study |
| Add an Event | event TASK_DESCRIPTION /at DATE_TIME_FORMAT |
event bday /at 2020-12-31 |
| Add a Deadline | deadline TASK_DESCRIPTION /by DATE_TIME_FORMAT |
deadline project /by 2020-09-18T23:59 |
| Mark as Done | done INDEX... |
done 1, done 1 2 3 |
| Delete | delete INDEX... |
delete 1, delete 1 2 3 |
| List | list [DATE_FORMAT] |
list, list 2020-12-31 |
| Find | find KEYWORD... |
find die, find die cry |
| Help | help |
|
| Exit | bye |