Skip to content
All work

CLI tool · 2020

Noted!

A command-line notes app in Node.js: add, read, list and remove notes.

  • Node.js
  • yargs

Noted! is a command-line application for taking notes, with the basics: creating, reading, listing and deleting notes.

Setup

  1. Clone the repository.
  2. Run app.js with one of the commands below.

Commands

add: add a new note

Needs a title and a body.

node app.js add --title="new title" --body="this is new title"
Output of the add command

read: read a note

Needs a title.

node app.js read --title="new title"
Output of the read command

list: list every note

node app.js list
Output of the list command

remove: remove a note

Needs a title.

node app.js remove --title="new title"
Output of the remove command

Error handling

Error messages printed for invalid commands