Giter VIP home page Giter VIP logo

goit-node-hw01's Introduction

GoIT Node HW01

ubuntu@instance-20221013-1516:~$ cd ~/dev/goit/goit-node-hw01
ubuntu@instance-20221013-1516:~/dev/goit/goit-node-hw01$ node dist/index.js -a list
┌─────────┬─────────────────────────┬─────────────────┬─────────────────────────────────────────────────┬──────────────────┐
│ (index) │           id            │      name       │                      email                      │      phone       │
├─────────┼─────────────────────────┼─────────────────┼─────────────────────────────────────────────────┼──────────────────┤
│    0    │ 'AeHIrLTr6JkxGE6SN-0Rw''Allen Raymond''[email protected]''(992) 914-3792' │
│    1    │ 'qdggE76Jtbfd9eWJHrssH''Chaim Lewis''[email protected]''(294) 840-6685' │
│    2    │ 'drsAJ4SHPYqZeG-83QTVW''Kennedy Lane''[email protected]''(542) 451-7038' │
│    3    │ 'vza2RIzNGIwutCVCs4mCL''Wylie Pope''[email protected]''(692) 802-2949' │
│    4    │ '05olLMgyVQdWRwgKfg5J6''Cyrus Jackson''[email protected]''(501) 472-5218' │
│    5    │ '1DEXoP8AuCGYc1YgoQ6hw''Abbot Franks''[email protected]''(186) 568-3720' │
│    6    │ 'Z5sbDlS7pCzNsnAHLtDJd''Reuben Henry''[email protected]''(715) 598-5792' │
│    7    │ 'C9sjBfCo4UJCWjzBnOtxl''Simon Morton''[email protected]''(233) 738-2360' │
│    8    │ 'e6ywwRe4jcqxXfCZOj_1e''Thomas Lucas''[email protected]''(704) 398-7993' │
│    9    │ 'rsKkOQUi80UsgVPCcLZZW''Alec Howard''[email protected]''(748) 206-2688' │
└─────────┴─────────────────────────┴─────────────────┴─────────────────────────────────────────────────┴──────────────────┘
ubuntu@instance-20221013-1516:~/dev/goit/goit-node-hw01$ node dist/index.js -a remove -i 'zzu4bcK5hqnUd9tavsUQc'
Contact with id zzu4bcK5hqnUd9tavsUQc not found
ubuntu@instance-20221013-1516:~/dev/goit/goit-node-hw01$ node dist/index.js -a add --name Mango --email [email protected] --phone 322-22-22
Contact added: pRrcEV6iGSQ4LbYbYHaWO
ubuntu@instance-20221013-1516:~/dev/goit/goit-node-hw01$ node dist/index.js -a listnode dist/index.js -a list
┌─────────┬─────────────────────────┬─────────────────┬─────────────────────────────────────────────────┬──────────────────┐
│ (index) │           id            │      name       │                      email                      │      phone       │
├─────────┼─────────────────────────┼─────────────────┼─────────────────────────────────────────────────┼──────────────────┤
│    0    │ 'AeHIrLTr6JkxGE6SN-0Rw''Allen Raymond''[email protected]''(992) 914-3792' │
│    1    │ 'qdggE76Jtbfd9eWJHrssH''Chaim Lewis''[email protected]''(294) 840-6685' │
│    2    │ 'drsAJ4SHPYqZeG-83QTVW''Kennedy Lane''[email protected]''(542) 451-7038' │
│    3    │ 'vza2RIzNGIwutCVCs4mCL''Wylie Pope''[email protected]''(692) 802-2949' │
│    4    │ '05olLMgyVQdWRwgKfg5J6''Cyrus Jackson''[email protected]''(501) 472-5218' │
│    5    │ '1DEXoP8AuCGYc1YgoQ6hw''Abbot Franks''[email protected]''(186) 568-3720' │
│    6    │ 'Z5sbDlS7pCzNsnAHLtDJd''Reuben Henry''[email protected]''(715) 598-5792' │
│    7    │ 'C9sjBfCo4UJCWjzBnOtxl''Simon Morton''[email protected]''(233) 738-2360' │
│    8    │ 'e6ywwRe4jcqxXfCZOj_1e''Thomas Lucas''[email protected]''(704) 398-7993' │
│    9    │ 'rsKkOQUi80UsgVPCcLZZW''Alec Howard''[email protected]''(748) 206-2688' │
│   11    │ 'pRrcEV6iGSQ4LbYbYHaWO''Mango''[email protected]''322-22-22'    │
└─────────┴─────────────────────────┴─────────────────┴─────────────────────────────────────────────────┴──────────────────┘
ubuntu@instance-20221013-1516:~/dev/goit/goit-node-hw01$ node dist/index.js -a get -i pRrcEV6iGSQ4LbYbYHaWO
{
  id: 'pRrcEV6iGSQ4LbYbYHaWO',
  name: 'Mango',
  email: '[email protected]',
  phone: '322-22-22'
}
ubuntu@instance-20221013-1516:~/dev/goit/goit-node-hw01$ node dist/index.js -a remove -i pRrcEV6iGSQ4LbYbYHaWO
Contact removed
ubuntu@instance-20221013-1516:~/dev/goit/goit-node-hw01$ node dist/index.js -a get -i pRrcEV6iGSQ4LbYbYHaWO
undefined
ubuntu@instance-20221013-1516:~/dev/goit/goit-node-hw01$

Screenshot-2024-07-08-002207 Screenshot-2024-07-08-002254

goit-node-hw01's People

Contributors

mesterum avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.