duke

User Guide

Welcome to Duke!

Duke is a handy to-do list app that also allows you to keep track of your upcoming deadlines and events.

Features

Create a to-do task

Adds a to-do item to your list.

Usages:

todo [task_name]

Creates a to-do item in your to-do list.

Example of usage:

Create a deadline task

Adds an item with a deadline to your list.

Usages:

deadline [task_name] /by [d/m/yyyy] [hhmm]

Creates a deadline item in your to-do list. The [hhmm] time field can be excluded.

Example of usage:

Create an event

Adds an event to your list.

Usages:

event [task_name] /at [d/m/yyyy] [hhmm]

Creates an event item in your to-do list.

Example of usage:

List tasks

You can view your full list, or specifically

Usages:

list [type]

Views all items of the specified type in your to-do list.

Example of usage:

Lists all items regardless of type.

Lists todo, deadline, or event items respectively.

Mark a task as done

Mark any task as done.

Usages:

done [task_type] [position]

Mark the task at the specific position in any task list as done.

Example of usage:

Delete a task

Delete any task from your list.

Usages:

delete [task_type] [position]

Deletes the task at the specific position in any task list.

Example of usage:

Find a task

Finds any task from your list.

Usages:

find [keyword]

Finds all tasks that matches your specified keyword.

Example of usage:

Update a task

Update the fields of any task.

Usages:

update [task_type] [position] [field] [keyword]

Updates the specified field of the event at the position to your new keyword.

Example of usage:

Sort a list

You can sort any list by either name in alphabetical order, or by date in earliest first.

Usages:

sort [task_type] [sorting_type]

Sorts the specified list by the sorting type in ascending order.

Example of usage:

Sorts the to-do list by name.

Sorts the event list by date and time, earliest first.

View an overview of your tasks over a specified period

You can see your upcoming deadlines and events up to a specified number of days.

Usages:

upcoming [number_of_days]

Views a list of deadlines and events happening from your system date to your specified number of days.

Example of usage:

View an overview of your tasks on a specific date

You can see your upcoming deadlines and events at a specific date.

Usages:

view [date]

Views a list of deadlines and events happening at your specified date.

Example of usage:

Save your data

While each function automatically saves your data for you, you can also manually save the data yourself.

Usages:

save

Saves your data to the directory data/duke.txt, located at where you launched the application.