Mon is a simple command-line task manager that allows you to create, view, mark, unmark, and delete tasks, as well as manage tasks based on specific criteria such as deadlines, events, and schedules. The app supports reading from and writing to a file and also allows searching for tasks using keywords.
- Add Tasks: Create tasks of various types (To-Do, Deadline, Event).
- Mark/Unmark Tasks: Track task completion status.
- Delete Tasks: Remove tasks from the list.
- View All Tasks: List all tasks in your task manager.
- Search Tasks: Find tasks based on keywords.
- Scheduled Tasks: View tasks scheduled for a specific date.
-
list - Display all tasks in the list.
- Example:
list
- Example:
-
todo - Add a new To-Do task.
- Example:
todo Finish homework
- Example:
-
deadline /by - Add a task with a deadline.
- Example:
deadline Submit assignment /by 2025-03-01
- Example:
-
event /from /to - Add an event with a start and end time.
- Example:
event Team meeting /from 2025-02-27T10:00 /to 2025-02-27T12:00
- Example:
-
mark - Mark a task as completed.
<number>is the task number (starting from 1).- Example:
mark 1
- Example:
-
unmark - Unmark a task (revert its completion status).
<number>is the task number (starting from 1).- Example:
unmark 1
- Example:
-
delete - Delete a task by its number.
- Example:
delete 1
- Example:
-
find - Search for tasks that contain the specified keyword.
- Example:
find homework
- Example:
-
bye - Exit the application and save all tasks to the data file.
- Example:
bye
- Example:
-
schedule - View tasks scheduled for a specific date. The date should be in the format
YYYY-MM-DD.- Example:
schedule 2025-03-01
- Example:
-
Invalid Command: If you enter an invalid command, the system will provide a helpful error message with guidance on valid commands.
- Example error message:
Invalid command. Please use the correct format: - mark <number> – Mark an item as completed - unmark <number> – Unmark a completed item - list – Show all items - todo <item> – Add a to-do item - deadline <task> /by <time> – Add a task with a deadline - event <task> /from <start> /to <end> – Add an event with a start and end time - schedule <date> – Displays all tasks scheduled for the specified date (format: YYYY-MM-DD) - find <keyword> - Find all matching tasks
- Example error message:
-
Invalid Task Number: When trying to mark, unmark, or delete a task, the task number must be valid (i.e., a positive number that refers to a task in the list). An error message will be shown if you try to refer to a non-existent task.
- Example error message:
Please enter a valid task ID. There are currently 2 items in the list.
- Example error message:
-
To-Do: A basic task that needs to be done.
- Example:
[T] [ ] Finish homework
- Where:
[T]indicates this is a To-Do task.[ ]indicates the task is not completed.
- Example:
-
Deadline: A task with a deadline.
- Example:
[D] [ ] Submit assignment /by 2025-03-01
- Where:
[D]indicates this is a Deadline task./by 2025-03-01indicates the task deadline.
- Example:
-
Event: A task with a start and end time.
- Example:
[E] [ ] Team meeting /from 2025-02-27 10:00 /to 2025-02-27 12:00
- Where:
[E]indicates this is an Event task./from 2025-02-27 10:00 /to 2025-02-27 12:00specifies the event’s timing.
- Example: