Skip to content

Add count command to show how many notes exist - #312

Open
the-dsw wants to merge 1 commit into
mate-academy:mainfrom
the-dsw:add-count-command
Open

the-dsw wants to merge 1 commit into
mate-academy:mainfrom
the-dsw:add-count-command

Conversation

@the-dsw

@the-dsw the-dsw commented Oct 29, 2026

Copy link
Copy Markdown

Adds node notes.js count, which prints the number of stored notes ("You have 3 notes.", singular for one note). Also lists the new command in the default help text.

Adds `node notes.js count`, which prints the number of stored notes
("You have 3 notes.", singular for one note). Also lists the new
command in the default help text.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Your implementation is correct and meets all task requirements. The count command has been properly added (lines 42-46) with correct singular/plural handling, and the help text has been updated to include it (line 54). All four original commands (add, list, search, delete) plus the new count command are functioning as expected. The PR description accurately reflects your changes. While test results were not provided to verify the build health, the code review confirms there are no functional issues with your implementation.


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example ↩

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.

2 participants