Tuna is a desktop app for managing tasks, optimised for use via a GUI.
- Add Todo, Deadline and Event tasks.
- List all tasks.
- List tasks that occur on a specified date.
- Delete a task.
- Mark or Un-mark a task when it is completed.
- Sort tasks in chronological order.
- Find tasks that contain a specified keyword.
- Load and Save data into the hard disk.
- Words in
UPPER_CASE
are the parameters to be supplied by the user.
e.g. in todoTASK_DESCRIPTION
,TASK_DESCRIPTION
is a parameter which can be used astodo complete assignments
. - Items in square brackets are optional.
- For commands that involve date and time, the symbols are represented as such:
Y
: YearM
: MonthD
: DayH
: Hourm
: Minute
Adds a todo task to the list.
Format: todo TASK_DESCRIPTION
Example of usage:
Adds a deadline task to the list.
Format: deadline TASK_DESCRIPTION /by DEADLINE_OF_TASK
DEADLINE_OF_TASK
has to be formatted as such:YYYY-MM-DD HH:mm
Example of usage:
Adds an event task to the list.
Format: event EVENT_DESCRIPTION /at DATE_AND_TIME_OF_EVENT
DATE_AND_TIME_OF_EVENT
has to be formatted as such:YYYY-MM-DD HH:mm
Example of usage:
Shows a list of all tasks in the task list.
Format: list [DATE]
- If
DATE
is not provided, all tasks will be shown.
IfDATE
is provided, only tasks that occur on the same date asDATE
will be shown.
Example of usage:
Deletes the task at the specified index.
Format: delete INDEX
- Deletes the task at the specified
INDEX
. - The index must be a positive integer.
- The index must be within the range of 1 to the total number of tasks.
Example of usage:
Marks the task at the specified index as done.
Format: mark INDEX
- Marks the task at the specified
INDEX
. - The index must be a positive integer.
- The index must be within the range of 1 to the total number of tasks.
Example of usage:
Un-marks the task at the specified index as done.
Format: unmark INDEX
- Un-marks the task at the specified
INDEX
. - The index must be a positive integer.
- The index must be within the range of 1 to the total number of tasks.
Example of usage:
Sorts all tasks in the task list in chronological order.
Format: sort
- Event and Deadline tasks will be sorted to the top of the list, while Todo tasks will be sorted to the bottom.
Example of usage:
Finds all tasks which contains the specified keyword.
Format: find KEYWORD
- Only the task description is searched
- The search is case-sensitive e.g.
Homework
will not matchhomework
. - Only full words will be matched e.g.
movie
will not matchmovies
.
Example of usage:
Exits the program and saves the data into the data file.
Format: bye
Tuna data are loaded automatically when the program starts.
Tuna data are saved in the hard disk automatically after bye
is entered.
Tuna data are saved as a .txt file in [JAR FILE LOCATION]/data/tuna.txt
Caution: If your changes to the data file makes it format invalid, Tuna will no longer run
To fix this, delete the data file and run the program again, Tuna will create a blank data file.