A CLI tool to store notes in a JSON file.
This is my first node.js project thanks to this Udemy course.
git clone https://github.com/Angristan/notes-node.git
cd notes-node
npm install
$ node app.js --help
app.js [command]
Commands:
app.js add Add a new note
app.js list List all notes
app.js read Read a note
app.js remove Remove a note
Options:
--version Show version number [boolean]
--help Show help [boolean]
$ node app.js add -t "To do" -b "Push my repo to Github"
Note created
===
Title: To do
Body: Push my repo to Github
$ node app.js list
Printing 1 note(s).
===
Title: To do
Body: Push my repo to Github
$ node app.js read -t "To do"
Note found
===
Title: To do
Body: Push my repo to Github
$ node app.js remove -t "To do"
Note removed!
$ node app.js list
Printing 0 note(s).