ip

View project on GitHub

User Guide

Duke is a desktop chat bot that can help you manage your tasks. It is optimized by a Command Line interface and automatic save such that you can note it faster than conventional task manager application.

 


Features

1. Task management

Add tasks conveniently with easy commands:

  • Assign
    • Simple todo tasks, todo.
    • Tasks with deadline, deadline.
    • Events to attend, event.
  • Mark tasks as done, done.
  • Delete tasks, delete.
  • Update tasks, update.
  • Clear all tasks, clear

 

2. Task view

View all tasks via list.

 

3. Various time format support

  • Use different time format for the convenience of time. Supported formats:

 

Format user input time output
HHmm 2359 Wednesday_Sep_16_2020_23:59
d 16 Wednesday_Sep_16_2020_00:00
d_HHmm 16_2300 Wednesday_Sep_16_2020_23:00
M/d 9/16 Wednesday_Sep_16_2020_00:00
M-d 9-16 Wednesday_Sep_16_2020_00:00
M/d_HHmm 9/16_2300 Wednesday_Sep_16_2020_23:00
M-d_HHmm 9-16_2300 Wednesday_Sep_16_2020_23:00
yyyy-M/d 2020/9/16 Wednesday_Sep_16_2020_00:00
yyyy-M-d 2020-9-16 Wednesday_Sep_16_2020_00:00
yyyy/M/d_HHmm 2020/9/16_2300 Wednesday_Sep_16_2020_23:00
yyyy-M-d_HHmm 2020-9-16_2300 Wednesday_Sep_16_2020_23:00

 

  • Human communicative language for date and time support.
    • Date support:
      • today refers to 00:00 of current date.
      • tomorrow refers to 00:00 of the next day of current date.
    • Time support:
      • morning refers to 08:00.
      • noon refers to 12:00.
      • afternoon refers to 14:00.
      • night refers to 20:00.
      • midnight refers to 23:59.
    • Notes: date must be provided before time is used. e.g. today, today morning are supported but morning alone is not.

 

  • Examples are given here.
Format (Given today is 9/16/2020) output
today Wednesday_Sep_16_2020_00:00
today morning Wednesday_Sep_16_2020_08:00

 


Usage

Command format:
Words surrounded by <> are the input from the users.
Words surrounded by [] are the command from the users.
e.g. [todo] <detail> means the user needs to type todo detail, such as todo work.

 

View all functions

Show all the functions and respective usage, help.

 

todo

todo - create a todo task.

Format: [todo] <detail>

Example:

  • todo homework creates a new todo task homework that is yet done.

todoImage

 

deadline

deadline - create a task with a deadline.

Format: [deadline] <space> <detail> <space> </by> <Date and/or time>

Example:

  • deadline UG /by 16_2359 creates a new deadline task UG (by:Wednesday_Sep_16_2020_23:59)
  • More time format can be referred in 3.Various time format support.

deadlineImage

 

event

event - create a event to attend.

Format: [event] <space> <detail> <space> </on> <Date and/or time>

Example:

  • event midterm /on 16_1300 creates a new deadline task midterm (on:Wednesday_Sep_16_2020_13:00)
  • More time format can be referred in 3.Various time format support.

eventImage

 

done

done - mark a task as done.

Format: [done] <index>

Example:

  • done 1 mark the first task in the list as done.

doneImage

 

delete

delete - delete a task.

Format: [delete] <index>

Example: *delete 1 deletes the first task in the list.

deleteImage

 

list

list - view all tasks in the list.

Format: [list]

listImage

 

clear

clear - delete all the tasks.

Format: [clear] <all/done/(leave empty)>

Example:

  • clear and clear all clears all the tasks in the list.
  • clear done clears completed tasks only.

clearAllImage clearDoneImage

 

find

find - find the tasks containing each or all keywords from the user.

Format: [find] <space> <keywords>

Example:

  • find tutorial lesson finds tasks that contains tutorial or lesson or tutorial lesson.

findImage

 

update

update - update the detail or time of an existing task

Format: [update] <space> <index> <space> <detail/time> <space> </to> <content>

Example:

  • update 2 detail /to CS2103T lesson update the detail of the 2nd task to CS2103T lesson.
  • update 3 time /to 1600 update the time of the 3rd task to 1600 of the present day.

updateDetailImage updateTimeImage

 

bye

bye - exit the program

Format: bye

byeImage