Snow is your personal reminder bot. Snow helps you to add task to your task list, delete and update. Given below are instructions on how to use it.
Prerequisites: JDK 11, update Intellij to the most recent version.
- Open Intellij (if you are not in the welcome screen, click
File>Close Projectto close the existing project first) - Open the project into Intellij as follows:
- Click
Open. - Select the project directory, and click
OK. - If there are any further prompts, accept the defaults.
- Click
- Configure the project to use JDK 11 (not other versions) as explained in here.
In the same dialog, set the Project language level field to theSDK defaultoption. - After that, locate the
src/main/java/Duke.javafile, right-click it, and chooseRun Duke.main()(if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output
Shows a list of all tasks.
Format: list
Adds a task to do into the task list.
-
Todo
Format:
todo TASKExamples:
todo homeworktodo cooking -
Deadline
Format:
deadline TASK /by 2023-09-16Examples:
deadline homework /by 2023-10-01deadline meeting /by 2023-09-26 -
Event
Format: 'event TASK /from TIME /to TIME'
Examples: 'event pilates /from 2pm /to 3pm' 'event birthday party /from 7pm /to 8pm'
Marks a task with X at a specified index.
Format: mark INDEX
Unmarks an existing task by removing the X at a specified index.
Format: unmark INDEX
Deletes an existing task at the specified index.
Format: delete INDEX
Updates an existing task at a specified index.
Format: update INDEX [task fields to update] following the format for creating the task
For example,
- to update a Todo task:
update 1 knitting - to update a Deadline task:
update 2 baking /by 2023-12-11 - to update an Event task:
update 1 meeting /from 10am /to 12pm
Exits the chatbot.
Format: bye
Snow chatbot data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
Snow chatbot data are saved as a JSON file [JAR file location]/data/addressbook.json. Advanced users are welcome to update data directly by editing that data file.