John task assistant aims to make it easy and convenient for recording tasks at hand without the need of having to remember them. Dates set to deadlines and events will also be used for reminders for tasks that will happen in a week’s time.
Download JohnTaskAssistant.jar
file from here and double click on it. If double clicking does not work, follow the instructions below.
If the above does not work, download the platform dependent jar files from here and follow the instructions below
Import Project
Create project from existing sources
. Select Next
.Next
all the way and finally select Finish
.Duke > src > main > java > duke
and right click on Duke.java and select Run Duke.main()
.Note: Ensure you have JDK 11 setup and installed
todo [description]
- Sets a todo task
Example of usage:
todo make a sandwich
deadline [description]
- Sets a deadline task and assign a date
Example of usage:
deadline make a sandwich /by 29/09/2019 1400
event [description]
- Sets a event task and assign a date
Example of usage:
event sandwich eating competition /at 01/10/2019 1200
done [task number]
- Checks a task. Note: task number is take from the list
command
Example of usage:
done 2
delete [task number]
- Deletes a task. Note: task number is take from the list
command
Example of usage:
done 2
find [description]
- Find all tasks that matches a description.
Example of usage:
find sandwich
list
- List all tasks.
Example of usage:
list
upcoming
- List deadlines or events happening in a week’s time.
Example of usage:
upcoming
help
- Show all commands
Example of usage:
help
bye
- Exit the application.
Example of usage:
bye
Solution: Navigate to the module settings either by ‘right clicking the Project > Open Module settings’ or ‘File > Project Structure’ and select ‘Modules’. Remove the main and test module by selecting the module and clicking on the ‘Minus’ button on the top.
Solution: Select ‘Alt + Enter/Option + Enter’ and select ‘import org.gradle….’