N Chat Bot is an application that helps you maintain your todo tasks.
list
- List out all current tasksN Chat Bot will return you a list of all tasks you currently have stored in N Chat bot, regardless of its status.
Format: list
Example:
list
Expected Outcome:
Here are the tasks in your list:
1. [T][✗] return books
2. [T][✓] borrow books
todo
- Add a todo taskAdd a todo task with the given description in N Chat Bot. The task will be added before the first task with status done.
Format: todo DESCRIPTION
Example:
todo do assignment 1
Expected Outcome:
You have added [T][✗] do assignment 1!
Now you have these tasks:
1. [T][✗] return books
2. [T][✗] do assignment 1
3. [T][✓] borrow books
deadline
- Add a Deadline TaskAdd a deadline task with the given description and due date.
Format: deadline DESCRIPTION /by YYYY-MM-DD
Example:
deadline programming assignment /by 2020-11-24
Expected Outcome:
You have added [D][✗] programming assignment (by: Nov 24 2020)!
Now you have these tasks:
1. [T][✗] return books
2. [T][✗] do assignment 1
3. [D][✗] programming assignment (by: Nov 24 2020)
4. [T][✓] borrow books
event
- Add an event taskAdd an event task with the given description and due date.
Format: event DESCRIPTION /at YYYY-MM-DD
Example:
event birthday party /at 2020-10-13
Expected Outcome:
You have added E][✗] birthday party (at: Oct 13 2020)!
Now you have these tasks:
1. [T][✗] return books
2. [T][✗] do assignment 1
3. [D][✗] programming assignment (by: Nov 24 2020)
4. [E][✗] birthday party (at: Oct 13 2020)
5. [T][✓] borrow books
done
- Mark a task as doneMark the task at the specified index as done. The marked task will be moved to the last of the list.
After the task is marked as done, N Chat Bot will display all tasks with status incomplete.
Format: done INDEX
where INDEX
refer to the index of the previous displayed list of tasks.
Example:
Previously displayed list:
You have added E][✗] birthday party (at: Oct 13 2020)!
Now you have these tasks:
1. [T][✗] return books
2. [T][✗] do assignment 1
3. [D][✗] programming assignment (by: Nov 24 2020)
4. [E][✗] birthday party (at: Oct 13 2020)
5. [T][✓] borrow books
1st Command:
done 2
Expected Outcome (with displayed list for the next command):
You have finished do assignment 1!
Move on to the next one:
1. [T][✗] return books
2. [D][✗] programming assignment (by: Nov 24 2020)
3. [E][✗] birthday party (at: Oct 13 2020)
2nd Command:
done 2
Expected Outcome:
You have finished programming assignment 1!
Move on to the next one:
1. [T][✗] return books
2. [E][✗] birthday party (at: Oct 13 2020)
delete
- Delete a taskDelete the task with the specified index.
After the task is deleted, N Chat Bot will display all the tasks stored in N Chat Bot.
Format: delete INDEX
where INDEX
refer to the index of the previous displayed list of tasks.
Example:
Previously displayed list:
Here are the tasks in your list:
1. [T][✗] return books
2. [E][✗] birthday party (at: Oct 13 2020)
3. [T][✓] borrow books
4. [T][✓] do assignment 1
5. [D][✓] programming assignment (by: Nov 24 2020)
1st Command:
delete 4
Expected Outcome (with displayed list for the next command):
do assignment 1 deleted.
Check out other tasks:
1. [T][✗] return books
2. [E][✗] birthday party (at: Oct 13 2020)
3. [T][✓] borrow books
4. [D][✓] programming assignment (by: Nov 24 2020)
2nd Command:
done 4
Expected Outcome:
programming assignment deleted.
Check out other tasks:
1. [T][✗] return books
2. [E][✗] birthday party (at: Oct 13 2020)
3. [T][✓] borrow books
find
- Find a task by descriptionFind tasks containing the search phrase in the description.
Format: find SEARCH_PHRASE
Example:
find return
Expected Outcome:
You hvae these tasks containing "return":
1. [T][✗] return books
on
- Find a task on a specific dateFind tasks with the specified date.
Format: on DATE
Example:
on 2020-10-13
Expected Outcome:
You hvae these tasks on this date:
1. [E][✗] birthday party (at: Oct 13 2020)
snooze
- Postpone a task to a later datePostpone a task to the specified new date.
After the task is postponed, N Chat Bot will display all the tasks stored in N Chat Bot.
Format: snooze INDEX NEW_DATE
where INDEX
refer to the index of the previous displayed list of tasks.
Example:
Previously displayed list:
programming assignment deleted.
Check out other tasks:
1. [T][✗] return books
2. [E][✗] birthday party (at: Oct 13 2020)
3. [T][✓] borrow books
Command
snooze 2 2020-12-23
Expected Outcome:
birthday party is snoozed to new date: 2020-12-23
1. [T][✗] return books
2. [E][✗] birthday party (at: Dec 23 2020)
3. [T][✓] borrow books
bye
- Exit the applicationExit the application.
Format: bye
Example:
bye
Expected Outcome: Application exits.
Li Gangwei