Added
- Added note list caching (
~/.cache/memo/notes_cache.json, TTL 5 min) to avoid redundant AppleScript calls on repeated commands. - Added
--no-cache/-ncflag tomemo notesto force a fresh fetch from Notes.
This two features combines fixes #18 and #25.
Changed
- Optimized the AppleScript in
get_noteto use batch property fetching (id of every noteandname of every note) and list-based output instead of string concatenation, reducing fetch time from O(n²) to O(n) for large note collections. - Cache is automatically invalidated after
--add,--edit,--delete, and--moveoperations. - Migration from Material Mkdocs to zensical.
Modify
- Modify the test to use mocking.