node-note-cli
v2.1.1
Published
A simple CLI tool for managing global notes by title, sorted newest-first.
Readme
node-note-cli
A simple CLI tool for managing global notes by title, sorted newest-first.
Install globally and use the note command.
npm install -g node-note-cliUsage
- Add:
note Your note title without quotes - List:
note(shows newest first) - Find:
note find keyword - Edit:
note edit <index> <new title...> - Delete:
note rm <index> [--yes] - Clear all:
note clear --yes
Examples
Add a note:
note Buy groceriesOutput:
Added: Buy groceriesList all notes:
noteOutput:
1. Buy groceries 2. Call Alice 3. Finish reportFind notes containing a keyword:
note find groOutput:
1. Buy groceriesEdit a note (e.g., change note #2):
note edit 2 Call BobOutput:
Updated note 2: Call BobDelete a note (e.g., remove note #3):
note rm 3 --yesOutput:
Deleted note 3: Finish reportClear all notes:
note clear --yesOutput:
All notes deleted.
Store Location
Notes are stored per-user in your OS data directory, e.g.,
- Windows:
%APPDATA%/note/notes.json - macOS:
~/Library/Application Support/note/notes.json - Linux:
~/.local/share/note/notes.json
The CLI entry point is bin/note.js and is exposed as the note command when installed globally.
