Add psuedo-code functions to psuedo.md

This commit is contained in:
2026-10-21 21:48:11 +11:00
parent a4f6e08ab0
commit f23a29d494
2 changed files with 12 additions and 1 deletions
+11
View File
@@ -1,3 +1,14 @@
Functions of the program
clash-add
1. Prompt for: name, day, time, length and optional description
2. Check for clashes, return clashes and return apology if any found
3. Add the user provided event data to DB
4. Alert that the event was added with no clashes (perhaps include a visualisation of the date and time of the event and if any other event occurs soon before or after)
clash_view
1. Prompt user as to whether they either a) want to view a particular event or b) events at a particular date and or time
2. If user wants to view a particular event request the event name, with optional granualarity for date and time (useful if events share names, such as in recurring events)
3. if user wants to view all events on a particular date or time prompt user for relevant date/time info