Alfred is a desktop application that has a personal assistant named Alfred to help users keep track of various things such as deadlines. It has a simple Graphical User Interface (GUI) that is optimised for users who can type fast, imitating the benefits of a Command User Interface (CLI).
11
or above installed in your computer.alfred.jar
from here.Open a command terminal, cd into the folder you put the jar file in, and use the java -jar alfred.jar
command to run the application.
A GUI similar to the below should appear in a few seconds.
help
to get a list of commands for you to use.UPPER_CASE
are the parameters to be supplied by the user.
e.g. todo TASK
, TASK
is a parameter which can be used as todo return book
.dd/mm/yyyy
.HHmm
.help
Shows a message that contains all the commands available in the program.
todo TASK
Adds a todo task to the program.
todo return book
deadline TASK /by DATE
Adds a deadline task to the program.
deadline return book /by 12/12/2023 1200
event TASK /from START-DATE /to END-DATE
Adds an event to the program.
event meet friends /from 12/12/2023 1200 /to 12/12/2023 1400
list
Lists all the tasks in the program.
list
list DATE
Lists all the tasks in the program that contains the given date.
list 12/12/2023
mark INDEX
Marks a task given the index of the task.
mark 1
- marks the first task in the list as doneunmark INDEX
Un-mark a task given the index of the task.
unmark 1
- un-marks the first task in the listfind KEY-WORDS
Find tasks that contains the given key-words.
find return
- returns all the tasks that contains the word return
delete INDEX
Delete a task given the index of the task.
delete 1
- deletes the first task in the listbye
Closes the program
bye
deadline
Adds a deadline task to the program.
Example of usage: deadline return book /by 12/12/2023 1200
Expected outcome:
event
Adds an event task to the program.
Example of usage: event meet friends /from 12/12/2023 1200 /to 12/12/2023 1400
Expected outcome:
list
Lists all the tasks in the program.
Example of usage: list
Expected outcome:
list DATE
Lists all the tasks in the program that contains the given date.
Example of usage: list 12/12/2023
Expected outcome:
find KEY-WORD
Find tasks that contains the given key-words.
Example of usage: find return
Expected outcome: