How marianapellecchia/contactease works
ContactEase is a terminal contact manager. The user starts in the CLI menu, selects CRUD, search, display, or save operations; the UI delegates contact operations to the in-memory address book, which validates records and uses JSON storage for loading and saving. The README documents the menu capabilities and unsaved-change warning. The excerpts establish the main call paths; menu branches beyond the sampled UI excerpt are represented at the documented capability level.
Main entry points: ui.py Interactive menu · rubrica.py Address book · storage.py JSON file · contatto.py Contact model
Components 6
CLI entry
- Program entry
src/rubrica_contatti/__main__.py - Interactive menu
src/rubrica_contatti/ui.py
Contact domain
- Contact model
src/rubrica_contatti/contatto.py - Address book
src/rubrica_contatti/rubrica.py
Persistence
- JSON file
src/rubrica_contatti/storage.py
Other components
- Terminal user
Connections 7
- Terminal user → Interactive menu: chooses operations
README.md - Program entry → Interactive menu: starts menu
src/rubrica_contatti/__main__.py - Interactive menu → Address book: delegates CRUD/search
src/rubrica_contatti/ui.py - Interactive menu → Contact model: uses model
src/rubrica_contatti/ui.py - Address book → Contact model: validates records
src/rubrica_contatti/rubrica.py - Address book → JSON file: loads and saves
src/rubrica_contatti/rubrica.py - JSON file → Address book: returns stored data
src/rubrica_contatti/rubrica.py