Skip to content

Add CLI option to inspect journal categories#2

Open
VelDia wants to merge 1 commit intomasterfrom
codex/create-digital-journal-with-ai-categorization-6p4jt4
Open

Add CLI option to inspect journal categories#2
VelDia wants to merge 1 commit intomasterfrom
codex/create-digital-journal-with-ai-categorization-6p4jt4

Conversation

@VelDia
Copy link
Owner

@VelDia VelDia commented Oct 19, 2025

Summary

  • add a --categories mode to the journal CLI so users can review stored sentences per category with optional de-duplication
  • expand argument validation to coordinate --categories, --history, --limit, and the new --unique flag
  • document the new category viewing workflow in the README

Testing

  • python digital_journal.py --entry "I met Alex for coffee today. I felt happy and grateful. Later I went to the gym and now my legs are tired." --timestamp 2024-05-20T18:30
  • python digital_journal.py --categories feelings health --limit 5
  • python digital_journal.py --categories people --unique
  • python digital_journal.py --history --limit 1

https://chatgpt.com/codex/tasks/task_e_68e45c34816c832688d86db73c14d1bc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant