menucli.py is the main script which is like an entry window of the Notebook app. Here the run() function is run and it should display all the options the user is given. From there the user chooses which action s/he would like to take. The options are:
- Display Notes
- Search Notes
- Add Note
- Modify Note
- Quit
To display notes the Notbook class is called. It consists the list of notes and every one of them is being printed in order
The Search Notes action is run using match method. It searches for the string in tags or memo if the note and returns True if the string is found and False in the opposite scenario.
The action simply referes to Notebook class which has the list of Notes and appends new Note object to this list(adding memo, tags(if needed), id and date)
The node is called by text, tag, or id. If the note is found then the user can change tags or memo of the note and it will ne modified. All this data is string
Simply quits the script