Duke is a desktop application for keeping track of tasks, deadlines, events and supports keeping track of loans given/taken, optimized for use via a Command Line Interface (CLI), while still having the benefits of a Graphical User Interface (GUI). If you can type fast, Duke can help you get your goals achieved faster than traditional GUI applications.
list
Lists all tasks that the user has
Example of usage:
list
Expected outcome:
All results shown. In this case, user has 3 tasks (1 todo, 1 event, 1 deadline)
todo
Creates a Todo task
Format:
todo taskname
taskname
can be of any length, and works for multiple wordsExample of usage:
todo bake cake
Expected outcome:
event
Creates an Event
Format:
event description /at date time
description
can be of any length, and works for multiple wordsdate
must be in the form ‘YYYY-MM-DD’time
must be in 24 hours format (e.g. 2359)Example of usage:
event 24km marathon /at 2022-12-12 1800
Expected outcome:
deadline
Creates a Deadline
Format:
deadline description /by date time
description
can be of any length, and works for multiple wordsdate
must be in the form ‘YYYY-MM-DD’time
must be in 24 hours format (e.g. 2359)Example of usage:
deadline CS2103T IP /by 2022-09-17 2359
Expected outcome:
mark
Marks a Task as done
Format:
mark index
index
must be an integer, and is the index of the task in listExample of usage:
mark 6
Expected output:
unmark
Marks a task as not done yet
Format:
unmark index
index
must be an integer, and is the index of the task in listExample of usage:
unmark 6
Expected output:
find
Finds all tasks that match the search input pattern
Format:
find searchInput
searchInput
is the keyword that is matched to the list of taskssearchInput
can be of any length, and supports multiple wordsExample of usage:
find recess week
Expected output:
Only if recess week exists as a task in your list!
delete
Deletes a task from the list
Format:
delete index
index
must be an integer, and is the index of the task in listExample of usage:
delete 5
Expected outcome:
loanbook list
Shows all contacts in loanbook
Example of usage:
loanbook list
Expected outcome:
loanbook add
Adds a loan to your loanbook
Format:
loanbook add NAME NUMBER AMOUNT isOwe
NAME
is the name of contact (Must be one word)NUMBER
is the phone number of contact (Only Singapore Number)AMOUNT
is the amount of money in the loanisOwe
is true if you owe the person money, false otherwiseExample of usage:
loanbook add John 98547373 9.83 true
Expected outcome:
loanbook delete
Deletes a contact from loanbook
Format:
loanbook delete NAME
NAME
is the name to delete (must match exactly)NAME
is case sensitiveExample of usage:
loanbook delete John
Expected outcome:
bye
Saves and closes the program
Example of usage:
bye
Expected outcome: