The current implementation has a config file that contains the next ID to use. I want to allow the user to check if this is still correct, and if not, update it with the correct value.
This can be done by collection all todos and retrieving the highest ID. Then compare it with the ID in the file and see if the latter is still correct. If not, update the value in the config file.
The current implementation has a config file that contains the next ID to use. I want to allow the user to check if this is still correct, and if not, update it with the correct value.
This can be done by collection all todos and retrieving the highest ID. Then compare it with the ID in the file and see if the latter is still correct. If not, update the value in the config file.