Skip to content

feat: add list-notes CLI flag - #9

Open
HeaTTap wants to merge 1 commit into
primeodin:mainfrom
HeaTTap:feat/list-notes
Open

HeaTTap wants to merge 1 commit into
primeodin:mainfrom
HeaTTap:feat/list-notes

Conversation

@HeaTTap

@HeaTTap HeaTTap commented Sep 9, 2026

Copy link
Copy Markdown

Summary

  • add list-notes flag that prints indexed note titles and filenames
  • exit 0 with note list without requiring a question argument
  • prefer list mode when both list-notes and a question are passed
  • add unit tests for list-notes mode and missing question validation
  • document list-notes flag in README

Test plan

  • ran pytest and all 12 tests passed
  • ran notes_rag with list-notes flag to print titles and files
  • ran notes_rag with list-notes flag and a question to verify list mode preference
  • ran notes_rag without question to verify exit code 2 usage message
  • ran mock query to verify mock answers still work

Closes #8

add list-notes flag to print indexed note titles and filenames without requiring a question
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

good first issue: --list-notes flag (print indexed titles, no question)

1 participant