@fellowjoel/notes
A command line application using Node.js called notes which will allow the user to specify a note (words) to be added to a database.
Last updated 2 months ago by jo3lerbear .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @fellowjoel/notes 
SYNC missed versions from official npm registry.

LAB - Class 01

Notes

Author: Joel Watson

Links and Resources

Setup

  • npm install

How to run

Example of adding a note to the database (must use -a or --add)

  • notes --add "Hello, I am an example note"
  • notes --add "Hello, I am an example note" --categories "school, examples" // categories optional

Example of listing the notes from the database (must use -l or --list)

  • notes --list // gets all notes
  • notes --list school // gets notes with "school" category

Example of updating a note in the database (must use -u or --update)

  • notes --update <note-uuid> --note "I've been updated" --categories "school, examples" // replace note-uuid with actual uuid from mongo

Example of adding a note to the database (must use -d or --delete)

  • notes --delete <note-uuid>

Tests

  • npm test

UML

UML01 UML02 UML03

Current Tags

  • 1.2.0                                ...           latest (2 months ago)

5 Versions

  • 1.2.0                                ...           2 months ago
  • 1.1.1                                ...           2 months ago
  • 1.1.0                                ...           2 months ago
  • 1.0.1                                ...           2 months ago
  • 1.0.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 5
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |