Repository navigation
Dwight – Your Assistant (to the) Regional Manager v0.2.0
“Whenever I'm about to do something, I think, ‘Would an idiot do that?’ and if they would, I do not do that thing.” – Dwight K. Schrute
Dwight is a Java-based task manager inspired by The Office.
It helps you manage tasks efficiently in a Command Line Interface (CLI), with personality-packed responses from Dwight himself.
📖 Table of Contents
🚀 Quick Start
Download & Run Dwight:
java -jar dwight-{your operating system :)}.jar✨ Features
- Add ToDo, Deadline, and Event tasks
- List all tasks with numbering
- Mark and unmark task as completed by index
- Delete task by index
- Search for tasks description by keyword
- Automatic save and load from storage
- Personality-driven responses by Dwight
📚 Usage
Adding Tasks
new todo Buy milk
new deadline Submit report /by 20 Sep 2025
new event Company retreat /from 1 Oct 2025 /to 5 Oct 2025Listing Tasks
listMarking and Unmarking Tasks
mark 2
unmark 2Deleting Tasks
delete 3Finding Tasks
find report💾 Saving and Loading
- Tasks are saved automatically after every command.
- When Dwight starts, it loads the existing tasks from storage.
- If the save file is missing or corrupted, Dwight skips that line.
📝 Command Summary
| Command | Description |
|---|---|
new todo <desc> |
Add a ToDo task |
new deadline <desc> /by <date> |
Add a Deadline task |
new event <desc> /from <date> /to <date> |
Add an Event task |
list |
List all tasks |
mark <index> |
Mark a task as done |
unmark <index> |
Unmark a task |
delete <index> |
Delete a task |
find <keyword> |
Search tasks containing the keyword |
bye |
Exit Dwight |
❓ FAQ
Q: Where are tasks saved?
A: In a local save file (./dwight-2103-ip.txt by default).
Q: What happens if I delete the save file?
A: Dwight will create a new one and start with an empty list.
Q: Does Dwight really insult Jim?
A: Yes. Frequently.
Enjoy using Dwight, and remember: Identity theft is not a joke, Jim!


