How mate-academy/git-playground-task5 works
This is a small command-line notes manager. The user invokes notes.js to add, list, search, or delete notes; the entry point delegates note operations to lib/store.js, which reads and writes the local JSON store. lib/config.js supplies the session-timeout value shown by the default command response. The README documents all four commands; source excerpts confirm their dispatch and storage behavior. The generated notes file is not present in the supplied tree, so its path is unspecified.
Main entry points: notes.js Command entry · store.js Notes store · config.js App config
Components 5
Other components
- CLI user
- Command entry
notes.js - Notes store
lib/store.js - App config
lib/config.js - Notes JSON
Connections 6
- CLI user → Command entry: runs command
- Command entry → Notes store: dispatches add/list/search/delete
- Notes store → Notes JSON: reads and writes
- Notes store → Command entry: returns notes/results
- Command entry → App config: reads timeout
- Command entry → CLI user: prints output