COSC381-2024Fall / Todo-List-CLI

This project is a command-line to-do list manager, where users can add, view, and delete tasks. The project is incomplete, with room for improvements and bug fixes.
MIT License
0 stars 0 forks source link

add-duplication-prevention #11

Open cholman5 opened 6 hours ago

cholman5 commented 6 hours ago

As it stands, you are able to add mulitiple tasks that are the exact same when adding tasks using option 1 of the menu.

Add an if else check to the switch statement by making a function that recycles code from the list_tasks function that throws an error and does not add a task if the task is exactly the same (case insensitive) to an existing task

sjiang1 commented 6 hours ago

Okay!