Skip to the content.
Cody UI

Cody is a personal assistant designed to help you organize tasks and keep track of your schedule.

Download View on GitHub

User Guide


Quick Start

  1. Ensure you have Java 17 or above installed in your Computer.

  2. Download the latest .jar file from here.

  3. Copy the file to the folder you want to use as the home folder for managing your tasks.

  4. Double-click the cody.jar file to run the app.

    • If that doesn’t work, open a command terminal, cd into the folder you put the jar file in, and use the java -jar cody.jar command to run the application.
  5. Type a command in the command box and press Enter to execute it.

Some example commands you can try:

Refer to the features below for details of each command.


Features

Notes about the command format:

Adding a Todo: todo

Adds a task of type Todo to the task list. It only includes a description.

Format: todo <description>

Examples:

Adding a Deadline: deadline

Adds a task of type Deadline to the task list. It includes a due date and time as well.

Format: deadline <description> /by <YYYY-MM-DD HHmm>

Examples:

Adding an Event: event

Adds a task of type Event to the task list. It includes starting and ending dates and times for the event.

Format: event <description> /from <YYYY-MM-DD HHmm> /to <YYYY-MM-DD HHmm>

Examples:

Listing all tasks: list

Shows a list of all added tasks.

Format: list

Listing tasks occurring on specific date: list <date>

Shows a list of added tasks that occurs on the specified date.

Format: list <YYYY-MM-DD>

Examples:

Finding tasks by name: find

Shows a list of tasks whose descriptions contain the specified keyword.

Format: find <keyword>

Examples:

Marking a task as done: mark

Marks the task at the specified index in the task list as done.

Tip:

Format: mark <index>

Examples:

Marking a task as not done: unmark

Marks the task at the specified index in the task list as not done.

Format: unmark <index>

Examples:

Deleting a task: delete

Deletes the task at the specified index in the task list.

Format: delete <index>

Examples:

Editing a task: edit or update

Edits the details of the task at the specified index in the task list. The edit format will depend on the type of task being edited.

Tip: update is an alias for edit, using either command will edit the task.

Format:

Note that the order of the parameters does not matter, just that at least one of the parameters must be provided.

Examples:

Exiting the program: exit or bye

Exits the program.

Tip: bye is an alias for exit, using either command will exit the program.

Format: exit

Saving the data

Cody’s data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.

Editing the data file

Cody’s data are saved automatically as a TXT file [JAR file location]/data/tasks.txt. Advanced users are welcome to update data directly by editing that data file.

Caution about editing the data file:


FAQ

Q: How do I transfer my data to another computer?

A: Install the app in the other computer and overwrite the data file it creates with the file that contains the data of your previous Cody home folder.


Command Summary

Command Format
Add Todo todo <description>
Add Deadline deadline <description> /by <YYYY-MM-DD HHmm>
Add Event event <description> /from <YYYY-MM-DD HHmm> /to <YYYY-MM-DD HHmm>
List all tasks list
List tasks on date list <YYYY-MM-DD>
Find tasks by name find <keyword>
Mark task as done mark <index>
Mark task as not done unmark <index>
Delete task delete <index>
Edit task (Todo) edit <index> /desc <description>
Edit task (Deadline) edit <index> [/desc <description>] [/by <YYYY-MM-DD HHmm>]
Edit task (Event) edit <index> [/desc <description>] [/from <YYYY-MM-DD HHmm>] [/to <YYYY-MM-DD HHmm>]
Exit program exit

Attributions

Icons used in the app are sourced from Flaticon.

cody icon user icon
Cody icon created by brajaomar_j - Flaticon User icon created by Freepik - Flaticon