forked from nus-cs2113-AY2223S2/ip
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUserGuide
More file actions
57 lines (45 loc) · 2.01 KB
/
Copy pathUserGuide
File metadata and controls
57 lines (45 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# 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 buy groceries
event attend meeting /at 2022-03-01 10:00-12:00
deadline submit report /by 2022-03-05 23:59
### 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.