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.help
Displays 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-DD
THH:MM:SS
YYYY-MM-DD
THH:MM
YYYY-MM-DD
HH:MM:SS
HH:MM
todo
Adds 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.
event
Adds 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.
deadline
Adds 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.
done
Marks 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)
delete
Deletes tasks with the given index.
Format: delete INDEX...
Example: delete 1 3
Expected outcome:
Noted. I've removed these tasks:
[T][✓] study for test
list
List 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)
find
Find 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
bye
Exits 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 |