Sentinel is a personal chatbot inspired by the Duke project. It helps you manage tasks, events, and deadlines efficiently, all from the command line. This project is configured to use JDK 17.
Ensure that your system is set up with the following:
- JDK 17: Sentinel requires JDK 17 to compile and run. Follow the instructions here to configure your project correctly.
- Open your IDE (e.g., IntelliJ IDEA).
- Configure the project to use JDK 17 by following these steps.
- In the same dialog, set the Project language level field to the
SDK default
option.
- Locate the
src/main/java/sentinel/Sentinel.java
file in your project directory. - Right-click on
Sentinel.java
and chooseRun Sentinel.main()
. - If the setup is correct, you should see the following output in your console:
Hello from
_____ _____
( ___ ) ( ___ )
| |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| |
| | | |
| | ________ _______ ________ _________ ___ ________ _______ ___ | |
| | |\ ____\|\ ___ \ |\ ___ \|\___ ___\\ \|\ ___ \|\ ___ \ |\ \ | |
| | \ \ \___|\ \ __/|\ \ \\ \ \|___ \ \_\ \ \ \ \\ \ \ \ __/|\ \ \ | |
| | \ \_____ \ \ \_|/_\ \ \\ \ \ \ \ \ \ \ \ \ \\ \ \ \ \_|/_\ \ \ | |
| | \|____|\ \ \ \_|\ \ \ \\ \ \ \ \ \ \ \ \ \ \\ \ \ \ \_|\ \ \ \____ | |
| | ____\_\ \ \_______\ \__\ \__\ \ \__\ \ \__\ \__\\ \__\ \_______\ \_______\ | |
| | |\_________\|_______|\|__| \|__| \|__| \|__|\|__| \|__|\|_______\|_______| | |
| | \|_________| | |
| | | |
|___|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|___|
(_____) (_____)
- Task Management: Add, delete, list, and mark tasks as done.
- Event Management: Schedule events with start and end times.
- Deadline Tracking: Set deadlines.
These are some commands Sentinel has:
todo <task>
deadline <task> /by <date>
event <event> /from <date> /to <date>
find <keyword>
list
mark <index>
delete <index>
bye
event Birthday party /from 2024-09-15T18:00 /to 2024-09-15T21:00
This creates an event called "Birthday party" from 6:00 PM to 9:00 PM on September 15, 2024.
Expected Output:
Got it. I've added this event: [E][ ] Birthday party (from: 2024-09-15T18:00 to: 2024-09-15T21:00)
Sentinel is based on the Duke project template. Special thanks to the original creators and the Java community for their contributions.