GithubHelp home page GithubHelp logo

ip's Introduction

Jarvis User Guide

Welcome to Jarvis TaskBot! Jarvis is a Java app for managing your daily tasks, optimized for use via a Command Line Interface (CLI). Given below are instructions on how to use it.

Prerequisites: Ensure you have Java 11 installed in your Computer.

On launch, you should see this interface:

Hello from
      /$$$$$                                /$$          
     |__  $$                               |__/          
        | $$  /$$$$$$   /$$$$$$  /$$    /$$ /$$  /$$$$$$$
        | $$ |____  $$ /$$__  $$|  $$  /$$/| $$ /$$_____/
   /$$  | $$  /$$$$$$$| $$  \__/ \  $$/$$/ | $$|  $$$$$$
  | $$  | $$ /$$__  $$| $$        \  $$$/  | $$ \____  $$
  |  $$$$$$/|  $$$$$$$| $$         \  $/   | $$ /$$$$$$$/
  \______/  \_______/|__/          \_/    |__/|_______/
____________________________________________________________
Hello Sir! I am JARVIS, your personal assistant!

Task-list created: tasklist.txt
____________________________________________________________

Features

Users may add, view, delete and search for tasks as needed.

Jarvis supports 3 types of tasks: ToDo, Deadline and Event.

ToDo: Task to be completed

Deadline: Task to be completed by a deadline.

Event: Task to start at a start time and end at an end time.


Add ToDo Task

Adds a new ToDo task to the task list.

Format: todo [TASKNAME]

Examples

  • todo Linear Algebra Homework 1
  • todo UROP data cleaning
  • todo buy 50 apples

Expected Outcome:

Got it. I've added this task:
  [T][] [TASK NAME]
Now you have [NUMBER OF TASKS] tasks in the list sir.

Invalid Todo error

  Invalid format. Description cannot be empty for todo sir.

Add Deadline Task

Adds a new Deadline task to the task list.

Format: deadline [TASK NAME] /by [DEADLINE in dd-MM-yyyy HH:mm]

Examples

  • deadline finish CS2113 Increment Level-10 /by 03-10-2023 23:59
  • deadline complete CS2113 tP /by 03-01-2024 08:00

Expected Outcome:

Got it. I've added this task:
  [D][] [TASK NAME] (by: [DAY, MMM dd yyyy HH:mm])
Now you have [NUMBER OF TASKS] tasks in the list sir.

Invalid Deadline error

  Invalid format. Use: deadline <description> /by <time> sir

Add Event Task

Adds a new Event task to the task list.

Format: event [TASK NAME] /from [START TIME in dd-MM-yyyy HH:mm] /to [END TIME in dd-MM-yyyy HH:mm]

Examples

  • event CS2113 Mid-Terms /from 03-10-2023 08:00 /to 03-10-2023 10:00
  • event EE2211 Mid-Terms /from 08-10-2023 15:00 /to 08-10-2023 16:00

Expected Outcome:

  Got it. I've added this task:
     [E][] [TASK NAME] (from: [DAY, MMM dd, yyyy HH AM/PM] to: [DAY, MMM dd, yyyy HH AM/PM])
  Now you have [NUMBER OF TASKS] tasks in the list sir.

Invalid Event error

 Invalid format. Use: event <description> /from <start_time> /to <end_time> sir

List Tasks

Lists all tasks in the task list.

Format: list

Expected Outcome:

1: [D][] [TASK NAME] (by: [DAY, MMM dd yyyy HH:mm])
2: [E][] [TASK NAME] (from: [DAY, MMM dd, yyyy HH AM/PM] to: [DAY, MMM dd, yyyy HH AM/PM])
3: [T][] [TASK NAME]
...

Empty List Error

Task list is empty! Please add a task sir.

Mark Task

Mark a task as done.

Format: mark [TASK INDEX]

Examples

  • mark 1
  • mark 2

TASK INDEX must be within the size of the task list

Expected Outcome:

Nice! I've marked this task as done sir:
    [T][X] [TASK NAME] 

Unmark Task

Mark a task as undone.

Format: unmark [TASK INDEX]

Examples

  • unmark 1
  • unmark 2

TASK INDEX must be within the size of the task list

Expected Outcome:

Oh NO! I've unmarked this task as undone sir:
    [T][] [TASK NAME] 
Get Grinding SIR

Delete Task

Delete a task from the task list.

Format: delete [TASK INDEX]

Examples

  • delete 1
  • delete 2

TASK INDEX must be within the size of the task list

Expected Outcome:

Noted sir. I've removed this task sir:
    [TASK DETAILS]
Now you have [NUMBER OF TASKS] tasks in the list! 

Search Task

Search for a task from the task list via description

Format: find [TASK DESCRIPTION]

Examples

  • find /description homework

💡Search will return all tasks which description contains the search keyword

  • find /description homework will return tasks with descriptions "homework", "linear algebra homework", "science homework"

Expected Outcome:

Here are tasks that matched your search sir:
[TASK INDEX]: [TASK DESCRIPTION]
[TASK INDEX]: [TASK DESCRIPTION]
...

If no matches are found, this will be the error prompt:

No results found. Please check your keyword is correct sir?

Exit Program

Close the app.

Format: bye

Expected Outcome:

Good bye sir! Have a good day

ip's People

Contributors

yeo-menghan avatar j-lum avatar damithc avatar seanleong339 avatar jiachen247 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.