diff --git a/README.md b/README.md index 6740200..24a0eb2 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # cs50-Final-Project -CLI calendar conflict tool \ No newline at end of file +CLI calendar conflict tool diff --git a/src/cs50_final_project/psuedo.md b/src/cs50_final_project/psuedo.md index 9be287a..5b9843f 100644 --- a/src/cs50_final_project/psuedo.md +++ b/src/cs50_final_project/psuedo.md @@ -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