/nodejs-homework-01

nodejs-homework

Primary LanguageJavaScript

Commands

Получаем и выводим весь список контактов в виде таблицы (console.table)

node index.js --action list

Get all contacts

Получаем контакт по id

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

Get contact by id

Добавляем контакт

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

Add contact

Удаляем контакт

node index.js --action remove --id=3

Remove contact