Your turn!
Following along with the provided code is a great way to learn through practice.
A better way is by challenging yourself to achieve tasks. Hence, I challenge you to improve the Bookmarkr application by adding the following features.
Task #1 – validating the format and the ability to access the input file
As a reminder, the syntax to import bookmark data from an existing file is as follows:
$ bookmarkr import --file <path to the input file>
If the input file cannot be accessed, or if its data is not in the expected format, then the application should display a corresponding error message to the user. Otherwise, the application should import all the bookmarks from the input file and display a success message to the user indicating how many bookmarks have been imported.
Task #2 – merging existing links from the input file
When importing bookmarks from an existing file, it is possible that some of them already exist in the bookmarks held...