ProBoard
Other
OtherPublished Aug 25

CLI notes: tag filter returns too much

Filtering by two tags returns notes that have only one of them.

Description

Small command line notebook (`notes/core.py`, stdlib only). Problem: `notes find --tag python --tag sql` returns every Python note plus every SQL note, but a note must have all requested tags. Single tag filtering looks correct. Expected: - multiple tags are combined with AND; - tag comparison is case insensitive; - text query still combines with tags; - empty tag list returns everything. Acceptance: `python -m unittest discover -s tests` passes. Write me and I'll send the project. Small budget, but the fix is quick for someone who knows Python.

Skills

  • Python
  • CLI