How swbuana661/git-playground-task4 works
This is a small command-line notes app: users add, list, search, and delete notes, with results or status printed to the terminal. The CLI dispatches each command to the store; the store persists notes in a JSON file. The sampled source shows the storage and dispatch behavior; no separate search or domain layer is needed.
Main entry points: notes.js CLI commands · store.js Note store · config.js App settings
Components 6
Command line
- CLI commands
notes.js - App settings
lib/config.js
Notes and storage
- Note store
lib/store.js - Notes JSON
Other components
- User
- Terminal output
Connections 8
- User → CLI commands: runs command
- CLI commands → Note store: adds notes
- CLI commands → Note store: lists notes
- CLI commands → Note store: searches notes
- CLI commands → Note store: deletes notes
- CLI commands → App settings: reads setting
- Note store → Notes JSON: reads and writes
- CLI commands → Terminal output: prints results