Jarvis is a desktop app for managing tasks via a Command Line Interface (CLI).
Ensure you have Java 11
or above installed in your Computer.
Download the latest jarvis.jar
from here.
Copy the file to the folder you want to use as the home folder for Jarvis.
Open your desired Command Line Interface from the folder with jarvis.jar
and enter the following code: java -jar jarvis.jar
todo read book
: Adds a read book
task to your list of tasks.
deadline return book /by 01/11/2021 1800
: Adds a return book
deadline task with a specific date and time to your list of tasks.*
event attend CS2113T lecture /at 30/10/2021 1600
: Adds an attend CS2113T lecture
event task with a specific date and time to your list of tasks.*
list
: Lists all tasks.
done 1
: Marks the 1st task in the current list as done.
delete 2
: Deletes the 2nd task in the current list.
bye
: Exits the app.
*Note: date and time must be entered in either of these formats DD/MM/YYYY hhmm
or DD-MM-YYYY hhmm
where D: Date, M: Month, Y: Year, h: Hour, m: Minute
and time must be in 24-hour notation
.
Notes about the command format:
Words in UPPER_CASE
are the parameters to be supplied by the user.
e.g. in todo DESCRIPTION
, DESCRIPTION
is a parameter which can be used as todo read book
.
Parameters have to be in correct order.
e.g. if the command specifies deadline DESCRIPTION /by DATE TIME
, the order of command and parameters have to be followed.
Parameters have to be in correct format.
e.g. for date and time, it must be entered in either of these formats DD/MM/YYYY hhmm
or DD-MM-YYYY hhmm
where D: Date, M: Month, Y: Year, h: Hour, m: Minute
and time must be in 24-hour notation
.
Parameters have to be the correct type (such as done
and delete
must be followed by an integer).
e.g. in done 2
, 2
has to be an integer character, two
will not be recognised.
Extraneous parameters for commands that do not take in parameters (such as list
and bye
) will be ignored.
e.g. if the command specifies list 123
, it will be not be recognised and you will have to input your list
command again.
todo
Adds a todo task to current list of tasks.
Format: todo DESCRIPTION
Examples:
todo read book
todo rewatch CS2113T lecture
deadline ... /by ...
Adds a deadline task with a specific date and time to your current list of tasks.
Format: deadline DESCRIPTION /by DATE TIME
Note: DATE and TIME must be entered in either of these formats DD/MM/YYYY hhmm
or DD-MM-YYYY hhmm
where D: Date, M: Month, Y: Year, h: Hour, m: Minute
and time must be in 24-hour notation
.
Examples:
deadline return book /by 31/10/2021 1800
deadline submit assignment /by 01/11/2021 2359
event ... /at ...
Adds an event task with a specific date and time to your current list of tasks.
Format: event DESCRIPTION /at DATE TIME
Note: DATE and TIME must be entered in either of these formats DD/MM/YYYY hhmm
or DD-MM-YYYY hhmm
where D: Date, M: Month, Y: Year, h: Hour, m: Minute
and time must be in 24-hour notation
.
Examples:
event lecture quiz /at 30/09/2021 1200
event attend concert /at 24/11/2021 2000
list
Shows a list of all tasks in your current list of tasks.
Format: list
done
Marks the specified task as done.
Format: done INDEX
INDEX
as done.Examples:
list
followed by done 2
marks the 2nd task as done in the current list of tasks.delete
Deletes the specified task from the current list of tasks.
Format: delete INDEX
INDEX
.Examples:
list
followed by delete 2
deletes the 2nd task in the current list of tasks.find
Find tasks containing the given keyword.
Format: find KEYWORD
book
will match BOOK
boo
will match book
OR
search).
e.g. book
will return read book
, return book
Examples:
find book
returns read book
and return book
bye
Prints a bye
message and exits the program.
Format: bye
Jarvis’ data is saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
Action | Format, Examples |
---|---|
Add Todo | todo DESCRIPTION e.g. todo read book |
Add Deadline | deadline DESCRIPTION /by DATE TIME e.g. deadline return book /by 31/10/2021 2100 |
Add Event | event DESCRIPTION /by DATE TIME e.g. event attend lecture /at 27/10/2021 1400 |
List | list |
Done Task | done INDEX e.g. done 2 |
Delete Task | delete INDEX e.g. delete 2 |
Find | find KEYWORD e.g. find book |
Exit | bye |