{"id":20668610,"url":"https://github.com/miro-wq/cli-application","last_synced_at":"2026-05-05T10:31:57.810Z","repository":{"id":263162149,"uuid":"887968004","full_name":"Miro-wq/CLI-application","owner":"Miro-wq","description":"This project is a Node.js Command-Line Interface (CLI) application for managing a JSON contact list, allowing basic CRUD operations.","archived":false,"fork":false,"pushed_at":"2024-11-21T12:19:37.000Z","size":399,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T15:18:30.721Z","etag":null,"topics":["cli","command-line","commanderjs","contact-management","contact-manager","crud","filesystem","json","node-cli","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Miro-wq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-13T15:34:17.000Z","updated_at":"2024-11-21T12:19:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa6f2038-a991-46ab-8595-cbc7d4492105","html_url":"https://github.com/Miro-wq/CLI-application","commit_stats":null,"previous_names":["miro-wq/cli-application"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Miro-wq%2FCLI-application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Miro-wq%2FCLI-application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Miro-wq%2FCLI-application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Miro-wq%2FCLI-application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Miro-wq","download_url":"https://codeload.github.com/Miro-wq/CLI-application/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242873756,"owners_count":20199294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line","commanderjs","contact-management","contact-manager","crud","filesystem","json","node-cli","nodejs"],"created_at":"2024-11-16T20:09:59.219Z","updated_at":"2025-12-07T10:08:03.351Z","avatar_url":"https://github.com/Miro-wq.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Screenshot links:\n- [https://ibb.co/82WLz5N](https://ibb.co/82WLz5N)\n- [https://ibb.co/zhgkPNy](https://ibb.co/zhgkPNy)\n- [https://ibb.co/vsRM2y3](https://ibb.co/vsRM2y3)\n- [https://ibb.co/s3jKqvY](https://ibb.co/s3jKqvY)\n\n\n# CLI-app  (CLI Contact Manager) \n\n## Description \n\nThis project is a Command-Line Interface (CLI) application for managing a collection of contacts. It allows users to perform basic CRUD operations (Create, Read, Update, Delete) on a contact list stored in a \u003eJSON file. The application is built using Node.js and leverages popular npm packages such as `yargs` and `commander` for parsing command-line arguments.\n\n## Features \n\n- **List all contacts**: View the entire contact list in a table format.\n- **Retrieve a contact**: Search for a contact by their unique ID.\n- **Add a new contact**: Add a contact with a name, email, and phone number.\n- **Remove a contact**: Delete a contact from the list using their unique ID.\n- **JSON storage**: Contacts are stored persistently in a `contacts.json` file located in the `db` folder.\n- **Modular design**: Functions for contact management are encapsulated in a separate `contacts.js` module.\n\n## Technologies Used \n\n- **Node.js**: JavaScript runtime environment.\n- **yargs**: For parsing command-line arguments.\n- **commander**: An alternative package for CLI argument parsing.\n- **fs and path modules**: For file system operations and path handling.\n\n## Project Structure \n\n```plaintext\ncli-contact-manager/\n├── db/\n│   └── contacts.json  # Stores the contact data\n├── index.js           # Main entry point for the CLI\n├── contacts.js        # Module for managing contact operations\n├── package.json       # Project configuration and dependencies\n├── README.md          # Project documentation\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiro-wq%2Fcli-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiro-wq%2Fcli-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiro-wq%2Fcli-application/lists"}