Skip to content

YC-Michael/ip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Duke individual project

This is a project for a task organiser app. It's named after the Java mascot Duke. Given below are instructions on how to use it.

User Guide

  1. Setting up
  2. Features
    1. Adding a tasktodo,Adding a taskdeadline,Adding a taskevent
    2. Deleting a taskdelete
    3. Marking a task as donemark
    4. Unmarking a task as doneunmark
    5. Finding tasksfind
    6. Displaying all taskslist
    7. Exit Dukebye

Setting Up

Prerequisites: JDK 11, update Intellij to the most recent version.

When run correctly, you should see something like this below as the output:

Hello from
 ____        _        
|  _ \ _   _| | _____ 
| | | | | | | |/ / _ \
| |_| | |_| |   <  __/
|____/ \__,_|_|\_\___|

Features

This section includes the functionalities of Duke, as well as the commands' formats.

Adding a task todo

The todo command allows you to add in tasks that do not have a deadline or duration.

Format: todo [TASK_NAME]

Example:

todo sleep

Adding a task deadline

The deadline command allows you to add in tasks that have a specific deadline. Separate the [TASK_NAME] and [DEADLINE] with a /.

Format: deadline [TASK_NAME] /[DEADLINE]

Example:

deadline sleep /by 10pm

Adding a task event

The event command allows you to add in tasks that occurs within a period of time. Separate the [TASK_NAME],[FROM] and [TO] with /.

Format: event [TASK_NAME] /[FROM] /[TO]

Example:

event sleep /from 10pm /to 8am

Deleting a task delete

The delete command allows you to delete any current task specified by [INDEX] in the list.

Format: delete [INDEX]

Example:

delete 1

will remove task sleep from the list.

Note: delete command could not be undo once called.

Marking a task as done mark

The mark command allows you to mark any task specified by the[INDEX] as done. Marking the task as done does not delete the task from the list.

Format: mark [INDEX]

Example:

mark 1

will mark task sleep as done, indicated by [x].

unmarking a task as done unmark

The unmark command allows you to unmark any previously marked task. The task to be unmarked is specified by the[INDEX].

Format: unmark [INDEX]

Example:

unmark 1

will unmark task sleep, indicated by [ ].

Finding tasks find

The find command allows you to find any tasks containing the substring [NAME]. It will return a list of tasks containing [NAME].

Format: find [NAME]

Example:

find sleep

or

find lee

will return task sleep.

Displaying all tasks list

The list command displays a list of current tasks.

Format: list

Example:

list

will display 1. [T][X] sleep

Exit duke bye

The bye command will exit the program.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 92.6%
  • Shell 4.3%
  • Batchfile 3.1%