User Guide
What is Shuyuan’s Task Manager(STM)?
STM is a task manager. This desktop application offers people functionalities to create and different types of tasks with specified time and related people; add and view tasks lists; mark and delete tasks. This application use command line interface; this means that you operate the application mainly by typing commands into the text box.
This is what STM looks like:
Figure 1. The graphical user interface for STM.
Getting started
You can type your command into text box and view STM’s responses in the pane. You can also view the conversation history by scrolling up or down.
Features
This application offers the following features:
- Add tasks
- Delete tasks
- List tasks
- Mark tasks
- Find tasks
Commands
Tasks have event
,deadline
,todo
types.
Each task contains description, time(only for deadline
and event
) and
people.
Each person consists of name, title/relationship and contact number.
A person can be represented by name(title)123456
.
If title or contact number are unknown, they can be omitted.
Thus, these commands are also applicable: James
,James(boss)
,James()123
.
When creating event
and deadline
tasks, time is necessary for your new task.
Your time can be a random string such as tomorrow morning
.
But if you want STM to understand your time as day, month, year, time;
Your time should be in this format day/month/year time
.
For example, these are valid time tonight
,Wednesday afternoon
,18/09/2019 1800
,2/12/2020 6pm
.
Add tasks
You can use event
,deadline
,todo
commands to add different types of tasks.
Add event task
- Type
event|task description|at some time|person1|person2|...
. Persons can be omitted. e.g.event|work|Friday
- Now the event task is added into the list and STM returns its information as well as the total number of tasks in the list.
Figure 2. Result of event command.
Add deadline task
- Type
deadline|task description|by some time|person1|person2|...
. Persons can be omitted. e.g.deadline|release Duke|Sunday|Shuyuan(student)666
- Now the deadline task is added into the list and STM returns its information as well as the total number of tasks in the list.
Figure 3. Result of deadline command.
Add todo task
- Type
todo|task description|person1|person2|...
. Persons can be omitted. e.g.todo|study|Poorme()123
- Now the todo task is added into the list and STM returns its information as well as the total number of tasks in the list.
Figure 4. Result of todo command.
Delete tasks
- Type in
delete|<number of task you want to delete>
. e.g.delete|5
- Now STM shows the deleted task information.
Figure 5. Result of delete command.
List tasks
list
command lists out all the current tasks.
- Type
list
in text box. - You can view the tasks lists and all the task details now.
Figure 6. Result of list command.
Mark tasks
done
command updates a task status from -
(not done) to +
(done).
- Type in
done|<number of task you want to delete>
. e.g.done|5
- Now STM shows the updated task information.
Figure 7. Result of done command.
Find tasks
find
command searches the string in task descriptions.
- Type in
find|<string you want to search>
. e.g.find|sleep
- Now STM returns all the tasks whose descriptions contain string “sleep”.
Figure 8. Result of find command.
Save history and exit application
bye
command saves and updates your task list into .txt
file.
Figure 9. Result of bye command.
FAQ
Q: What if I typed some invalid commands?
A: No worries, STM gives you warnings and reminds you where the commands are wrong.