/node-hw-1

Primary LanguageJavaScript

Скриншоти

Get and display the entire list of contacts in the form of a table (console.table)

*node index.js --action list

https://monosnap.com/file/MY4SjRAhjKh6QCwQn89MOrtTX9dTGh

Get contact by id

node index.js --action get --id 05olLMgyVQdWRwgKfg5J6

Get a non-existing contact

https://monosnap.com/file/GywRGHlJinphQwD2hrBRU6BbolllWe

Get contact by id

node index.js --action get --id 1

Get a existing contact

https://monosnap.com/file/7VLWtU1D5yBmKyQ4GT6k8wSqsafOK4

Add the contact

node index.js --action add --name Mango --email mango@gmail.com --phone 322-22-22

https://monosnap.com/file/13JSyCqZvOOTUrpDpysLV5ceu6C52W

Delete the contact

node index.js --action remove --id qdggE76Jtbfd9eWJHrssH

Delete a non-existing contact

https://monosnap.com/file/ZEACndSTHl2x6qvesxboDDuU7odOXW

Delete the contact

node index.js --action remove --id yLIOlgW7m9rkYsHG_knfr

Delete a existing contact

https://monosnap.com/file/iwpopqATlA0xdCf8hVstKGWJdE0mrw