This is my individual project for CS2103T Software Engineering.
Casper is an application designed to manage tasks efficiently through a Command Line Interface (CLI). It supports
commands for task creation, modification, sorting, and listing tasks. The app is built to handle various types of
tasks like todo, deadline, and event, providing comprehensive task management capabilities.
2. Download the latest casper.jar file from here.
java -jar casper.jarHere are some example commands you can try:
list: Lists all tasks.todo buy milk: Adds a new todo task with the description "buy milk".mark 1: Marks the first task as complete.
- Words surrounded by
[square brackets]are the parameters to be supplied by the user.
For example:todo [description]requires a description. - Commands like
listdo not require additional parameters. - All date-time parameters are to be given in the
DD-MM-YYYY HH:mmformat.
For example:19-06-2050 12:30
Lists all tasks in the current task list.
listSorts the task list by the specified method.
Available methods:
alphabetical: Sorts tasks by alphabetical order.type: Sorts tasks by task type.time: Sorts tasks by their date or time.status: Sorts tasks by their completion status.
Example:
sort /by alphabeticalMarks a task as complete.
Example:
mark 2Unmarks a task, indicating it is incomplete.
Example:
unmark 2Deletes a task from the task list.
Example:
delete 3Finds tasks containing the specified keyword.
Example:
find homeworkAdds a new todo task.
Example:
todo buy milkAdds a new deadline task with a specific date.
Example:
deadline submit assignment /by 19-12-2024 10:00Adds a new event task with start and end times.
Example:
event attend conference /from 19-12-2024 10:00 /to 19-12-2024 12:00- Data is saved automatically after every command that modifies the task list.
- Data is stored in a file
casper.txtin the application's root directory. - You can manually edit the
casper.txtfile, but be cautious as incorrect formats can lead to errors or data loss.