Add psuedo-code functions to psuedo.md
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# cs50-Final-Project
|
||||
|
||||
CLI calendar conflict tool
|
||||
CLI calendar conflict tool
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user