Skip to content

SeanTerrr/ip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mon User Guide

Overview

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.

Key Features:

  • 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.

Commands

General Commands

  1. list - Display all tasks in the list.

    • Example:
      list
  2. todo - Add a new To-Do task.

    • Example:
      todo Finish homework
  3. deadline /by - Add a task with a deadline.

    • Example:
      deadline Submit assignment /by 2025-03-01
  4. 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
  5. mark - Mark a task as completed. <number> is the task number (starting from 1).

    • Example:
      mark 1
  6. unmark - Unmark a task (revert its completion status). <number> is the task number (starting from 1).

    • Example:
      unmark 1
  7. delete - Delete a task by its number.

    • Example:
      delete 1
  8. find - Search for tasks that contain the specified keyword.

    • Example:
      find homework
  9. bye - Exit the application and save all tasks to the data file.

    • Example:
      bye
  10. schedule - View tasks scheduled for a specific date. The date should be in the format YYYY-MM-DD.

    • Example:
      schedule 2025-03-01

Special Cases

  • 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
  • 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.

Task Formats

  • 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.
  • 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-01 indicates the task deadline.
  • 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:00 specifies the event’s timing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 95.4%
  • Shell 2.6%
  • Batchfile 2.0%