Ever felt overwhelmed by all the things you need to keep track of? Well, PRTS is here to help! Part chatbot, part to-do- list, part companion, PRTS is here to help share that cognitive load and assist you through those long nights!
So, what can PRTS do?
General notes about giving commands:
- PRTS is flexible! Lowercase or uppercase, casing of commands does not matter!
- Additionally, whitespaces will also be ignored by PRTS - except the very first word! Ensure you do not start your command with a whitespace!
- Unless otherwise stated, PRTS will not attempt to parse your descriptions, and they will be taken verbatim.
- All fields must be present! You cannot leave a field blank, or PRTS will complain to you.
- All commands that modify the Task List will automatically save the Task List to a file on your hard disk.
- These commands are:
todo
,deadline
,event
,delete
,mark
,unmark
, andundo
.
- These commands are:
Adds a To-Do item to the Task List.
Format: todo [description]
- The
description
will be displayed in the Task List verbatim.
Example:
todo buy groceries
Adds a Deadline item to the Task List.
Format: deadline [description] /by [deadline]
- The
description
will be displayed in the Task List verbatim. - PRTS will attempt to parse the
deadline
as a date, but if it is unable to do so, the string input will be stored verbatim.
Examples:
deadline submit quiz /by tomorrow
deadline finish assignment /by 25 Sep 2023
Adds a Deadline item to the Task List.
Format: event [description] /from [startDate] /to [endDate]
- The
description
will be displayed in the Task List verbatim. - PRTS will attempt to parse the
startDate
andendDate
as dates, but if it is unable to do so, the string input will be stored verbatim.
Examples:
event birthday party /from 1 Oct 12pm /to 5pm
event vacay /from september /to october ???
Lists all Tasks currently in the Task List.
Format: list
- This command must strictly be used with no further input.
Deletes a specified task from the Task List.
Format: delete [index | "all"]
- Either a number or the word
all
should be specified. - If a number is specified, ensure that it is parseable as an integer, and is between 1 and the size of the Task List.
- If
all
is specified, the entire Task List will be deleted.
Examples:
delete 3
delete all
Marks a specified task in the Task List as complete. If the Task is already marked as complete, PRTS will notify you.
Format: mark [index | "all"]
- Either a number or the word
all
should be specified. - If a number is specified, ensure that it is parseable as an integer, and is between 1 and the size of the Task List.
- If
all
is specified, the entire Task List will be deleted.
Examples:
mark 3
mark all
Marks a specified task in the Task List as incomplete. If the Task is already marked as incomplete, PRTS will notify you.
Format: mark [index | "all"]
- Either a number or the word
all
should be specified. - If a number is specified, ensure that it is parseable as an integer, and is between 1 and the size of the Task List.
- If
all
is specified, the entire Task List will be deleted.
Examples:
unmark 3
unmark all
Searches the Tasks in the Task List for a given search term.
Format: find [searchTerm]
- For Deadlines and Events, this will search the date fields as well.
[searchTerm]
can be of any length, but will not be parsed for individual words - returned results must contain the entire term verbatim.
Undoes the last one or more commands input by the user that affected the state of the Task List.
Format: undo [count | "all"]
- The
count | "all"
field is optional.- If this field is omitted, i.e. the command provided is
undo
, it will be treated as equivalent toundo 1
.
- If this field is omitted, i.e. the command provided is
count
indicates the number of commands to revert.- Using the word
all
will undo all commands since the start of the session!- There is no way to undo an undo, so be careful about using this!
Exits the program immediately. The Task List will be saved.
- As long as the command begins with the word
bye
, this command will execute, even if this is not the only word in that input.
There are some keywords currently implemented that will cause PRTS to respond in unique ways! See if you can find them! There will be more to come!