ip

User Guide (Elvis the chatbot)

Elvis is a chatbot for managing todo, deadline, event for use via a Command Line Interface (CLI).


Quick start

  1. Ensure you have Java 11 or above installed in your Computer.

  2. Download the latest Elvis.jar from here.

  3. Copy the file to the folder you want to use as the home folder for your Elvis.

  4. Open a command terminal, cd into the folder you put the jar file in, and run the following command: java -jar Elvis.jar.

             _____                      _____            _____                      _____                      _____          
            /\    \                    /\    \          /\    \                    /\    \                    /\    \         
           /::\    \                  /::\____\        /::\____\                  /::\    \                  /::\    \        
          /::::\    \                /:::/    /       /:::/    /                  \:::\    \                /::::\    \       
         /::::::\    \              /:::/    /       /:::/    /                    \:::\    \              /::::::\    \      
        /:::/\:::\    \            /:::/    /       /:::/    /                      \:::\    \            /:::/\:::\    \     
       /:::/__\:::\    \          /:::/    /       /:::/____/                        \:::\    \          /:::/__\:::\    \    
      /::::\   \:::\    \        /:::/    /        |::|    |                         /::::\    \         \:::\   \:::\    \
     /::::::\   \:::\    \      /:::/    /         |::|    |     _____      ____    /::::::\    \      ___\:::\   \:::\    \
    /:::/\:::\   \:::\    \    /:::/    /          |::|    |    /\    \    /\   \  /:::/\:::\    \    /\   \:::\   \:::\    \
   /:::/__\:::\   \:::\____\  /:::/____/           |::|    |   /::\____\  /::\   \/:::/  \:::\____\  /::\   \:::\   \:::\____\
   \:::\   \:::\   \::/    /  \:::\    \           |::|    |  /:::/    /  \:::\  /:::/    \::/    /  \:::\   \:::\   \::/    /
    \:::\   \:::\   \/____/    \:::\    \          |::|    | /:::/    /    \:::\/:::/    / \/____/    \:::\   \:::\   \/____/
     \:::\   \:::\    \         \:::\    \         |::|____|/:::/    /      \::::::/    /              \:::\   \:::\    \     
      \:::\   \:::\____\         \:::\    \        |:::::::::::/    /        \::::/____/                \:::\   \:::\____\    
       \:::\   \::/    /          \:::\    \       \::::::::::/____/          \:::\    \                 \:::\  /:::/    /    
        \:::\   \/____/            \:::\    \       ~~~~~~~~~~                 \:::\    \                 \:::\/:::/    /     
         \:::\    \                 \:::\    \                                  \:::\    \                 \::::::/    /      
          \:::\____\                 \:::\____\                                  \:::\____\                 \::::/    /       
           \::/    /                  \::/    /                                   \::/    /                  \::/    /        
            \/____/                    \/____/                                     \/____/                    \/____/
    
    Checking if "tasks.txt" already exists...
    File does not exist.
    Creating new file...
    File created successfully.
    ____________________________________________________________
    Hello! I'm ELVIS
    What can I do for you?
    ____________________________________________________________
  1. Type commands below the horizontal line and press Enter to execute it. (e.g. typing help and pressing Enter will open the help page). Some example commands you can try:
    • list : Lists all contacts.
    • bye : Exits the app.
  2. Refer to the Features below for details of each command.

back_to_top


Features

Notes about the command format:

1. Viewing help : help

Shows the help page.

Format: help

____________________________________________________________
help
____________________________________________________________
No worries, I'm here to help!
____________________________________________________________


---------------------------HELP PAGE----------------------------

1.  To add a todo, type "todo + {description}"
     Example: todo borrow book
    ____________________________________________________________
     Got it. I've added this task:
       [T][ ] borrow book
     Now you have 5 tasks in the list.
    ____________________________________________________________


2.  To list out all the tasks, type "list"
     Example: list
    ____________________________________________________________
     Here are the tasks in your list:
     1.[T][X] read book
     2.[T][X] join sports club
     3.[T][ ] borrow book
    ____________________________________________________________


3.  To add a deadline, type "deadline + {description} + /by + {date time}"
     Example: deadline return book /by 2023/09/23 1800
    ____________________________________________________________
     Got it. I've added this task:
       [D][ ] return book (by: 2023-09-23 18:00)
     Now you have 4 tasks in the list.
    ____________________________________________________________


4.  To add an event, type "deadline + {description} + /from + {date time} + /to {date time}"
     Example: event project meeting /from 2023-09-23 1800 /to 2023-09-23 1900
    ____________________________________________________________
     Got it. I've added this task:
       [E][ ] project meeting (from: 2023-09-23 18:00 to: 2023-09-23 19:00)
     Now you have 5 tasks in the list.
    ____________________________________________________________


5.  {date time} should be written in this format:
    ____________________________________________________________
     Date: dd/mm/yyyy OR yyyy-mm-dd
      - Example: 09/11/2023 OR 2023-11-09
     Time: HHmm OR HH:mm in 24-Hr format
      - Example: 1800 OR 18:00
     NOTE: There should be a spacing between the date and time
    ____________________________________________________________


6.  To delete a task, type "delete + {task number}"
     Example: delete 5
    ____________________________________________________________
     Noted. I've removed this task:
       [E][ ] project meeting (from: 2023-09-23 18:00 to: 2023-09-23 19:00)
     Now you have 4 tasks in the list.
    ____________________________________________________________

-------------------------HELP PAGE END--------------------------

back_to_top

2. Adding a todo: todo

Adds a todo to the Tasklist.

Format: todo TASK_TO_DO

Example: todo read books

   todo read books
   ____________________________________________________________
   Got it. I've added this task:
   [T][ ] read books
   Now you have 1 task(s) in the list.
   ____________________________________________________________

back_to_top

3. Adding a deadline: deadline

Adds a deadline to the Tasklist.

Format: deadline TASK_TO_DO /by DATE TIME

Note:

Example: deadline return book /by 2023/06/28 1300

   ____________________________________________________________
   deadline return book /by 2023/06/28 1300
   ____________________________________________________________
   Got it. I've added this task:
   [D][ ] return book (by: 28/06/2023 1300)
   Now you have 2 task(s) in the list.
   ____________________________________________________________

back_to_top

4. Adding an event: event

Adds an event to the Tasklist.

Format: event TASK_TO_DO /from DATE TIME /to DATE TIME

Note:

Example: event project meeting /from 2022-08-06 1300 /to 6-8-2022 1500

   ____________________________________________________________
   event project meeting /from 2022-08-06 1300 /to 6-8-2022 1500       
   ____________________________________________________________
   Got it. I've added this task:
   [E][ ] project meeting (from: 06/08/2022 1300 to: 06/08/2022 1500)
   Now you have 3 task(s) in the list.
   ____________________________________________________________

back_to_top

5. Listing all tasks: list

Lists all tasks in the Tasklist.

Format: list

Legend

   ____________________________________________________________
   list
   ____________________________________________________________
   Here are the tasks in your list:
   1.[T][ ] read books
   2.[D][ ] return book (by: 28/06/2023 1300)
   3.[E][ ] project meeting (from: 06/08/2022 1300 to: 06/08/2022 1500)
   Now you have 3 task(s) in the list.
   ____________________________________________________________

back_to_top

6. Finding a task: find

Finds all tasks in the Tasklist that matches the keyword.

Format: find

Example: find book

Note: Do note that the search is case-sensitive.

   ____________________________________________________________
   find book
   ____________________________________________________________
   Here are the matching tasks in your list:
   1.[T][ ] read books
   2.[D][ ] return book (by: 28/06/2023 1300)
   ____________________________________________________________

back_to_top

7. Deleting a task: delete

Deletes a specific task in the Tasklist.

Format: delete INDEX

Example: delete 3

   ____________________________________________________________
   delete 3
   ____________________________________________________________
   Noted. I've removed this task:
   [E][ ] project meeting (from: 06/08/2022 1300 to: 06/08/2022 1500)
   Now you have 2 task(s) in the list.
   ____________________________________________________________

back_to_top

8. Marking a task: mark

Marks a specific task in the Tasklist.

Format: mark INDEX

Example: mark 2

   ____________________________________________________________
   mark 2
   ____________________________________________________________
   Nice! I've marked this task as done:
   [D][X] return book (by: 28/06/2023 1300)
   ____________________________________________________________

back_to_top

9. Unmarking a task: unmark

Unmarks a specific task in the Tasklist.

Format: unmark INDEX

Example: unmark 2

   ____________________________________________________________
   unmark 2
   ____________________________________________________________
   OK, I've marked this task as not done yet:
   [D][ ] return book (by: 28/06/2023 1300)
   ____________________________________________________________

back_to_top

10. Exiting program: bye

Exits the program

Format: bye

   ____________________________________________________________
   bye
   ____________________________________________________________
   Bye. Hope to see you again soon!
   ____________________________________________________________

back_to_top

11. Saving the Tasklist

Tasklist data are saved in the hard disk automatically after every valid command changes the data. There is no need to save manually.

back_to_top


FAQ

Q: Why do I get the Invalid Date/Time input error? A: Ensure there is only 1 whitespace between date and time.

Q: I found a bug! What do I do? A: Great! Please contact Min, your help is greatly appreciated!

back_to_top


Command summary

Action Format, Examples
help help
todo Format: todo TASK_TO_DO Example: todo read books
deadline Format: deadline TASK_TO_DO /by DATE TIME Example: deadline return book /by 2023/06/28 1300
event Format: event TASK_TO_DO /from DATE TIME /to DATE TIME Example: event project meeting /from 2022-08-06 1300 /to 6-8-2022 1500
list Format: list
find Format: find Example: find book
delete Format: delete INDEX Example: delete 3
mark Format: mark INDEX Example: mark 2
unmark Format: unmark INDEX Example: unmark 2
bye Format: bye

back_to_top