AndrL2311 / goit-nodejs-hw-01

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

node index.js --action list

list1

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

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

list1

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

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

list1

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

node index.js --action updateById --id 10 --name Bob --phone 355-55-5 --email bob@gmail.com

list1

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

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

list1

About


Languages

Language:JavaScript 100.0%