Skip to content

TJ-Hoo/ip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Duke Task Manager

Duke is a task manager that helps users keep track of their daily tasks. Users can add, edit, delete, and search for tasks using the command-line interface. Duke uses a simple text file to store the tasks. This guide will help you get started.

Prerequisites

Before using Duke, please ensure that you have the following:

  • Java 11 or later installed on your computer
  • The Duke.jar file downloaded on your computer

Getting Started

  1. Download the Duke.jar file to your computer.
  2. Open a terminal or command prompt and navigate to the directory where the Duke.jar file is located.
  3. Run the following command to start Duke:

java -jar Duke.jar 4. If Duke is running properly, you should see a welcome message.

Features

Duke currently supports the following features:

Adding Tasks

To add a task, type one of the following commands followed by the task description:

  • todo: adds a new todo task
  • event: adds a new event task
  • deadline: adds a new deadline task

For example: todo borrow book event project meeting /from Mon 2pm /to 4pm deadline return book /by Sunday

Listing Tasks

To list all the tasks currently in Duke, type the command list.

Marking Tasks

To mark a task as done, type the command mark followed by the task number.

For example: mark 2

Unmarking Tasks

To unmark a task as done, type the command unmark followed by the task number.

For example: unmark 2

Deleting Tasks

To delete a task, type the command delete followed by the task number.

For example: delete 2

Finding Tasks

To find tasks containing a specific keyword, type the command find followed by the keyword.

For example: find groceries

Exiting Duke

To exit Duke, type the command bye.

Notes

  • All tasks added to Duke are automatically saved to a file named "Duke.txt" in the same directory as the Duke.jar file.
  • If the Duke.txt file already exists, Duke will load the tasks from the file when it starts.
  • If an error occurs while Duke is running, an error message will be displayed.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Java 93.4%
  • Shell 3.8%
  • Batchfile 2.8%