Duke is an application for those who want to manage a personal task list with command line interface. With Duke, users can create and retrieve tasks with various commands.
() are optional.
| means either the arguments on the left or the one on the right is needed. <name> means a range of
possible arguments.<index>, <starting index>, <ending index> expect positive integers<command> expects todo, event, deadline, exit,bye, find, list<filter> expects index filter, type filter, status filter, time filter<task type> expects todo, event, deadline,<date and time> expects (DD/MM/YYYY) HH:MM. If date is omitted, then duke assumes it is today’s date.<time operator> expects before, until, on, from, after<task description>, <keywords> expect any wordsFilter is used to filter tasks by different criteria, including index, type, done status of task and time and date associated with the task. It is combined with Delete, Done and List command(cannot be used on its own).
<index> (<literal index filter>)2 1 20 filter out tasks with index 1, 2, 204 filter out the task with index 4[(<starting index>):(<ending index>)]<starting index> is omitted, then it starts from the first task by default.
If <ending index> is omitted, then it ends at the last task by default.)[5:10] filter out tasks with index 5-10[:20] filter out tasks with index 1-20[:] all tasks/type <task type>/type event filter out all event tasks/done <true | false>/done true filter out all tasks with status of done/<time comparator> <date and time><time comparator> includes before, until, on, from, after
<date and time>
<date and time>/before 19:00 filter out all tasks that has time before today 19:00/from 20/1/2020 12:00 filter out all tasks that have time after or at 20 Jan 2020 12:00help (<command> | <filter>)help show the general help informationhelp event show the help information for event commandhelp index filter show the help information for index filtertodo <task description>todo buy apples add a todo task with description ‘buy apples’event <task description> /at <date and time>event family dinner /at 31/12/2019 17:00 add an event task with description ‘family dinner’
at 31 Dec 2019 17:00deadline <task description> /by <date and time>deadline finish milk /by 30/11/2019 23:59 add a deadline task with description ‘finish milk’ whose
deadline is 30 Nov 2019 23:59delete <filter>delete 2 9 1 delete tasks with index 1, 2, 9delete /done true delete all tasks that are donedone <filter>done [:9] set all tasks with index 1-9 as donedone /before 12:00 set all tasks that have time before today 12:00 as donelist (<filter>)list list all taskslist /done false list all tasks that are not donefind <keyword>find chocolate find all tasks that include word ‘chocolate’byebye exit the application