forked from nus-cs2113-AY2223S2/ip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe876fa
commit 2059ae1
Showing
3 changed files
with
144 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,155 @@ | ||
# User Guide | ||
#User Guide | ||
Duke is a to-do list that serves as a reminder for you to keep track of the various types of tasks you may have. | ||
|
||
## Features | ||
##Features | ||
Duke stores 3 types of tasks, todo, deadline and event. | ||
|
||
### Feature-ABC | ||
Todo only requires the task description, deadline additionally requires the time the task is due, and event requires the start and the end timing of the event on top of the description. | ||
|
||
Description of the feature. | ||
##Todo list are automically saved when duke terminates | ||
The list of tasks is always saved when closing duke, allowing the user to close duke and reaccess the task list in the future. | ||
|
||
### Feature-XYZ | ||
#Usage | ||
###todo - Adds a todo task into the list | ||
todo TASK_NAME | ||
|
||
Description of the feature. | ||
###### Example of usage: | ||
|
||
## Usage | ||
`todo A-JavaDoc` | ||
|
||
### `Keyword` - Describe action | ||
###### Expected outcome: | ||
|
||
Describe the action and its outcome. | ||
Adds a todo task with the label T to represent todo and an empty [ ] which indicates its status. | ||
|
||
Example of usage: | ||
____________________________________________________________ | ||
Added to list: | ||
[T][ ] A-JavaDoc | ||
Number of tasks: 1 | ||
____________________________________________________________ | ||
|
||
`keyword (optional arguments)` | ||
|
||
Expected outcome: | ||
###`deadline` - Adds a deadline task into the list | ||
deadline TASK_NAME /by DEADLINE | ||
|
||
Description of the outcome. | ||
###### Example of usage: | ||
|
||
``` | ||
expected output | ||
``` | ||
`deadline Submit the final version /by Fri, Mar 3rd 2359` | ||
|
||
###### Expected outcome: | ||
|
||
Adds a deadline task with the label D to representing deadline and an empty [ ] which indicates its status. | ||
|
||
____________________________________________________________ | ||
Added to list: | ||
[D][ ] Submit the final version (by:Fri, Mar 3rd 2359) | ||
Number of tasks: 2 | ||
____________________________________________________________ | ||
### `event` - Adds an event into the list | ||
event TASK_NAME /from START /to END. | ||
|
||
###### Example of usage: | ||
|
||
`event attend lecture /from 16:00 /to 18:00` | ||
|
||
###### Expected outcome: | ||
|
||
Adds an event into the list with an E to indicate event, [ ] indicates the status of the event. | ||
|
||
____________________________________________________________ | ||
Added to list: | ||
[E][ ] attend lecture (from: 16:00 to: 18:00) | ||
Number of tasks: 3 | ||
____________________________________________________________ | ||
|
||
##`list` - Lists all the tasks recorded | ||
list | ||
|
||
###### Example of usage: | ||
|
||
`list` | ||
|
||
###### Expected outcome: | ||
|
||
Shows all the existing items in the list. In this test case, the 3 tasks added prior to calling the command list will be shown. | ||
|
||
____________________________________________________________ | ||
1.[T][ ] A-JavaDoc | ||
2.[D][ ] Submit the final version (by:Fri, Mar 3rd 2359) | ||
3.[E][ ] attend lecture (from: 16:00 to: 18:00) | ||
____________________________________________________________ | ||
## `mark`- Mark specified task | ||
mark TASK_INDEX | ||
|
||
###### Example of usage: | ||
|
||
`mark 2` | ||
|
||
This marks the second item in the list as complete, indicated with a [X]. | ||
|
||
###### Expected outcome: | ||
|
||
____________________________________________________________ | ||
Nice! I've marked this task as done: | ||
[D][X] Submit the final version (by:Fri, Mar 3rd 2359) | ||
____________________________________________________________ | ||
##`unmark` - Unmark specified task | ||
unmark POS_OF_TASK | ||
|
||
###### Example of usage: | ||
|
||
`unmark 2` | ||
|
||
This marks the second item in the list as incomplete, indicated with a [ ]. | ||
|
||
###### Expected outcome: | ||
|
||
____________________________________________________________ | ||
OK, I've marked this task as not done yet: | ||
[D][ ] Submit the final version (by:Fri, Mar 3rd 2359) | ||
____________________________________________________________ | ||
## `find` - Find tasks that contains the keyword | ||
find KEYWORD | ||
|
||
###### Example of usage: | ||
|
||
`find ice-skating` | ||
|
||
###### Expected outcome: | ||
|
||
Lists only the tasks containing the keyword in its TASK_NAME. | ||
|
||
Here are the matches in your list! | ||
____________________________________________________________ | ||
2.[D][ ] Submit the final version (by:Fri, Mar 3rd 2359) | ||
3.[E][ ] attend the lecture (from: 16:00 to: 18:00) | ||
____________________________________________________________ | ||
## `delete` - Delete task specified from duke | ||
delete POS_OF_TASK | ||
|
||
###### Example of usage: | ||
|
||
`delete 3` | ||
|
||
###### Expected outcome: | ||
|
||
This deletes the third task in the list. | ||
|
||
____________________________________________________________ | ||
Deleting from list: | ||
[E][ ] attend the lecture (from: 16:00 to: 18:00) | ||
Number of tasks: 2 | ||
____________________________________________________________ | ||
## `bye` - Shuts down Duke | ||
bye | ||
|
||
###### Example of usage: | ||
|
||
`bye` | ||
|
||
###### Expected outcome: | ||
|
||
Closes duke | ||
|
||
____________________________________________________________ | ||
Bye. Hope to see you again soon! | ||
____________________________________________________________ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
Tt/Ym/hello | ||
Dt/Ym/bye n/now | ||
Et/Ym/hi n/ now s/ later | ||
Tt/Ym/A-JavaDoc | ||
Dt/Ym/Submit the final version n/Fri, Mar 3rd 2359 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters