{"_id":"@adarsht0912/mycli","_rev":"5-12205b71a79cfeca7cfb57234dcac1b3","name":"@adarsht0912/mycli","dist-tags":{"latest":"3.0.2"},"versions":{"1.0.0":{"name":"@adarsht0912/mycli","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@adarsht0912/mycli@1.0.0","maintainers":[{"name":"adarsht0912","email":"adarsh.utkarsh09@gmail.com"}],"bin":{"mycli":"index.js"},"dist":{"shasum":"14c73c0d2362833df2dab7f649cd4fa0aafabec9","tarball":"https://registry.npmjs.org/@adarsht0912/mycli/-/mycli-1.0.0.tgz","fileCount":17,"integrity":"sha512-v2SULGJF+Nz3+RxVYMmNx90toPdFyv9jyOcXjvKvVN2zmCOICs9zudc58jTlLFBPXW/Vamuxe+CBU9wh7KA3RQ==","signatures":[{"sig":"MEYCIQDxBbdMmJJ0/6TfqFV9lZG8w9g4iYfUIRUotwpmrOIthAIhANcIzJKP7iT1hs+cCfmbAR9BhCUsvGbE2sHkPW9IzbH/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12542},"main":"index.js","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"adarsht0912","email":"adarsh.utkarsh09@gmail.com"},"_npmVersion":"10.9.2","directories":{},"_nodeVersion":"22.15.1","dependencies":{"os":"^0.1.2","ora":"^9.0.0","open":"^10.2.0","axios":"^1.12.2","chalk":"^5.6.2","figlet":"^1.9.3","express":"^5.1.0","fs-extra":"^11.3.2","inquirer":"^12.10.0","commander":"^14.0.1","simple-git":"^3.28.0","child_process":"^1.0.2","systeminformation":"^5.27.11"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mycli_1.0.0_1761307421148_0.40335148830468737","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@adarsht0912/mycli","version":"2.0.0","keywords":[],"author":"","license":"ISC","_id":"@adarsht0912/mycli@2.0.0","maintainers":[{"name":"adarsht0912","email":"adarsh.utkarsh09@gmail.com"}],"bin":{"mycli":"index.js"},"dist":{"shasum":"60c737365c54a190938a5fe3273635c7d4aa39f1","tarball":"https://registry.npmjs.org/@adarsht0912/mycli/-/mycli-2.0.0.tgz","fileCount":27,"integrity":"sha512-Qfds632JZCFcc3Mb70aJt8RWZapKo2Qke3FHbokcQUlJqg3SSEyxAhn2a/kt0MBki5RyB046frieMxTguPKXQQ==","signatures":[{"sig":"MEUCIQCBIjjmJiFoS5x7hz5JeRRD+a8/eXag6K4Wptw4UXylqwIgEUVA9ayHbsL3fxU7c6F+BlM+hP/CqFY66vNcwXWjIZ8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45577},"main":"index.js","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"adarsht0912","email":"adarsh.utkarsh09@gmail.com"},"_npmVersion":"10.9.2","directories":{},"_nodeVersion":"22.15.1","dependencies":{"os":"^0.1.2","ora":"^9.0.0","open":"^10.2.0","path":"^0.12.7","axios":"^1.12.2","chalk":"^5.6.2","crypto":"^1.0.1","dotenv":"^17.2.3","figlet":"^1.9.3","openai":"^6.6.0","express":"^5.1.0","fs-extra":"^11.3.2","inquirer":"^12.10.0","commander":"^14.0.1","simple-git":"^3.28.0","@octokit/rest":"^22.0.0","child_process":"^1.0.2","systeminformation":"^5.27.11","@huggingface/inference":"^4.13.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mycli_2.0.0_1761316726456_0.07038827955690219","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@adarsht0912/mycli","version":"3.0.0","keywords":["cli","terminal","tui","developer-tools","productivity","devops","system-monitor"],"author":{"name":"Adarsh"},"license":"MIT","_id":"@adarsht0912/mycli@3.0.0","maintainers":[{"name":"adarsht0912","email":"adarsh.utkarsh09@gmail.com"}],"homepage":"https://github.com/Adarsh16-30/CommandLineInterface#readme","bugs":{"url":"https://github.com/Adarsh16-30/CommandLineInterface/issues"},"bin":{"mycli":"index.js"},"dist":{"shasum":"b9f9a1e3993c93840fc5be008aa466799eea019f","tarball":"https://registry.npmjs.org/@adarsht0912/mycli/-/mycli-3.0.0.tgz","fileCount":51,"integrity":"sha512-j5EXCrGAj5pXB4n2sWQbwfPSL4BbXX3K+6F8Msom4hml+DpULqkSSHqQewLeoN44VwhG4tkwJ3izVh7Mg3jaKQ==","signatures":[{"sig":"MEUCIC6nxO+jpYHR71n61qyuV44sOfd1HVqkI5iogmBEf9XaAiEAowy+hSN1BEZAMfJczfhK1gRjWKJwurYdRaeYpjJaegw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":138503},"main":"index.js","type":"module","scripts":{"test":"node --test tests/**/*.test.js","build":"node index.js build","build:all":"node index.js build -t all","test:watch":"node --test --watch tests/**/*.test.js"},"_npmUser":{"name":"adarsht0912","email":"adarsh.utkarsh09@gmail.com"},"repository":{"url":"git+https://github.com/Adarsh16-30/CommandLineInterface.git","type":"git"},"_npmVersion":"11.6.2","description":"A fully featured Node.js CLI toolkit with 41 commands across system monitoring, dev tools, DevOps, AI, productivity and more","directories":{},"_nodeVersion":"24.13.0","dependencies":{"os":"^0.1.2","ora":"^9.0.0","open":"^10.2.0","path":"^0.12.7","uuid":"^13.0.0","axios":"^1.13.5","chalk":"^5.6.2","crypto":"^1.0.1","dotenv":"^17.2.3","openai":"^6.6.0","blessed":"^0.1.81","express":"^5.1.0","fs-extra":"^11.3.2","inquirer":"^12.10.0","commander":"^14.0.1","public-ip":"^4.0.4","clipboardy":"^5.3.0","jwt-decode":"^4.0.0","simple-git":"^3.28.0","@octokit/rest":"^22.0.0","child_process":"^1.0.2","@types/blessed":"^0.1.27","node-disk-info":"^1.3.0","blessed-contrib":"^4.11.0","qrcode-terminal":"^0.12.0","systeminformation":"^5.31.0","fast-speedtest-api":"^0.3.2","@huggingface/inference":"^4.13.0"},"_hasShrinkwrap":false,"devDependencies":{"pkg":"^5.8.1","ts-node":"^10.9.2","typescript":"^5.9.3","@types/node":"^25.2.3","@types/figlet":"^1.7.0","@types/inquirer":"^9.0.9"},"_npmOperationalInternal":{"tmp":"tmp/mycli_3.0.0_1771389457100_0.26813958953685724","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"@adarsht0912/mycli","version":"3.0.1","keywords":["cli","nodejs","developer-tools","automation","terminal"],"author":{"name":"Adarsh"},"license":"ISC","_id":"@adarsht0912/mycli@3.0.1","maintainers":[{"name":"adarsht0912","email":"adarsh.utkarsh09@gmail.com"}],"bin":{"mycli":"index.js"},"dist":{"shasum":"3af0c25c41efac38661046f06156063a05441303","tarball":"https://registry.npmjs.org/@adarsht0912/mycli/-/mycli-3.0.1.tgz","fileCount":52,"integrity":"sha512-h5yaWqBcperOwUxAgeHYrSfTeQB0TXbQx14haNy6TmEWemsE3i+Zr1+zymiCI9Uy5Y5xVdlrtnx4wkgVD+bHnQ==","signatures":[{"sig":"MEUCID5nmyxsvnTl8TJNP60p5nr7Ts9pSB0FBUxSCnW7tfzQAiEAvYMJkzifUbjojXWDboN4XACM6r/HCRHNSKLyPLT4HN4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":159247},"main":"index.js","type":"module","gitHead":"19d5384208c3a86a693759c224e17ceec77837f0","scripts":{"start":"node index.js"},"_npmUser":{"name":"adarsht0912","email":"adarsh.utkarsh09@gmail.com"},"_npmVersion":"11.6.2","description":"A fully featured Node.js CLI toolkit for modern automation and developer workflows","directories":{},"_nodeVersion":"24.13.0","dependencies":{"os":"^0.1.2","ora":"^8.2.0","zod":"^4.3.6","open":"^10.2.0","path":"^0.12.7","uuid":"^13.0.0","yaml":"^2.8.2","axios":"^1.12.2","chalk":"^5.6.2","crypto":"^1.0.1","dotenv":"^17.2.3","figlet":"^1.9.3","openai":"^6.6.0","blessed":"^0.1.81","express":"^5.1.0","fs-extra":"^11.3.2","inquirer":"^12.10.0","commander":"^14.0.1","clipboardy":"^5.3.0","jwt-decode":"^4.0.0","simple-git":"^3.28.0","@octokit/rest":"^22.0.0","child_process":"^1.0.2","blessed-contrib":"^4.11.0","qrcode-terminal":"^0.12.0","systeminformation":"^5.27.11","fast-speedtest-api":"^0.3.2","@huggingface/inference":"^4.13.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mycli_3.0.1_1771830548683_0.32249051902153303","host":"s3://npm-registry-packages-npm-production"}},"3.0.2":{"name":"@adarsht0912/mycli","version":"3.0.2","main":"index.js","bin":{"mycli":"index.js"},"type":"module","scripts":{"start":"node index.js"},"keywords":["cli","nodejs","developer-tools","automation","terminal"],"author":{"name":"Adarsh"},"license":"ISC","description":"A fully featured Node.js CLI toolkit for modern automation and developer workflows","dependencies":{"@huggingface/inference":"^4.13.0","@octokit/rest":"^22.0.0","axios":"^1.12.2","blessed":"^0.1.81","blessed-contrib":"^4.11.0","chalk":"^5.6.2","child_process":"^1.0.2","clipboardy":"^5.3.0","commander":"^14.0.1","crypto":"^1.0.1","dotenv":"^17.2.3","express":"^5.1.0","fast-speedtest-api":"^0.3.2","figlet":"^1.9.3","fs-extra":"^11.3.2","inquirer":"^12.10.0","jwt-decode":"^4.0.0","open":"^10.2.0","openai":"^6.6.0","ora":"^8.2.0","os":"^0.1.2","path":"^0.12.7","qrcode-terminal":"^0.12.0","simple-git":"^3.28.0","systeminformation":"^5.27.11","uuid":"^13.0.0","yaml":"^2.8.2","zod":"^4.3.6"},"gitHead":"171e3dce7c912a62787a3da2406eff0e3d609ae6","_id":"@adarsht0912/mycli@3.0.2","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-6bC+eKTiMuHW9OrLGWyljLg3QQxjT6yfOrj1CmjYGe8I0LzjbEreTP+h0Zcvw6ih8rFNHcoOKUWoNO1k+cEm+A==","shasum":"5009e856c1a0bd8ed9135f5727c0bdc7cf0c480b","tarball":"https://registry.npmjs.org/@adarsht0912/mycli/-/mycli-3.0.2.tgz","fileCount":52,"unpackedSize":162886,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGKjKWpIfVSd4iUeJVAyrhaTK57nQnDRdCjQZTZ6JWPrAiEA2DpCTvNoHiYw8IzXLmDpcICta0iwS/MOXbd7EpBCIks="}]},"_npmUser":{"name":"adarsht0912","email":"adarsh.utkarsh09@gmail.com"},"directories":{},"maintainers":[{"name":"adarsht0912","email":"adarsh.utkarsh09@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mycli_3.0.2_1772003046418_0.6040303487573504"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-24T12:03:41.071Z","modified":"2026-02-25T07:04:06.666Z","1.0.0":"2025-10-24T12:03:41.330Z","2.0.0":"2025-10-24T14:38:46.647Z","3.0.0":"2026-02-18T04:37:37.234Z","3.0.1":"2026-02-23T07:09:08.843Z","3.0.2":"2026-02-25T07:04:06.564Z"},"author":{"name":"Adarsh"},"license":"ISC","keywords":["cli","nodejs","developer-tools","automation","terminal"],"description":"A fully featured Node.js CLI toolkit for modern automation and developer workflows","maintainers":[{"name":"adarsht0912","email":"adarsh.utkarsh09@gmail.com"}],"readme":"<h1 align=\"center\">🤖 My CLI (CommandLineInterface)</h1>\r\n<p align=\"center\">\r\n<b>A fully featured Node.js CLI toolkit for modern automation and developer workflows.</b>\r\n\r\n<i>Uses Commander, Chalk, Inquirer, Axios, OpenAI, simple-git, and more.</i>\r\n# 🧠 Terminal-Based Developer Toolkit using Node.js\r\n\r\nThis project implements an **end-to-end command-line interface (CLI) toolkit** to **supercharge developer productivity** using Node.js and modern terminal libraries.\r\n\r\nThe goal is to provide a single interface for **system monitoring, productivity tracking, API testing, and AI-driven assistance**, which is a common and critical task for **software engineers and DevOps professionals**.\r\n\r\n---\r\n\r\n## 📌 Project Overview\r\n\r\n* **Input**: Terminal commands and interactive prompts\r\n* **Output**: Formatted data, TUI dashboards, and system actions\r\n* **Approach**:\r\n  * Build a scalable command architecture using `commander`\r\n  * Add interactive configurations using `inquirer`\r\n  * Integrate system monitoring using `systeminformation`\r\n  * Enable beautiful TUI rendering using `blessed` and `chalk`\r\n\r\nThis project focuses on **practical CLI engineering**, handling:\r\n* Asynchronous processes\r\n* System-level integrations\r\n* Terminal user interfaces\r\n* Interactive prompts and formatting\r\n\r\n---\r\n\r\n## 🧪 Core Capabilities\r\n\r\nThis project offers the **MyCLI (Developer Toolkit)**.\r\n\r\n### 🔗 Toolkit installation (REQUIRED)\r\n\r\nYou **must install the tool globally** to use it efficiently:\r\n\r\n👉 **[npm install -g mycli] (Or linking locally)**\r\n\r\nAfter cloning:\r\n1. Extract the files\r\n2. Run `npm install` and `npm link` in the root directory\r\n\r\n```text\r\nproject-root/\r\n│── commands/\r\n│── utils/\r\n│── tests/\r\n│── index.js\r\n│── package.json\r\n│── README.md\r\n```\r\n\r\n⚠️ Environment variables (`GITHUB_TOKEN`, `HF_TOKEN`) are **not included** and must be provided via a `.env` file or CLI config.\r\n\r\n---\r\n\r\n## 📊 Command Categories\r\n\r\nAfter installation, the CLI contains the following categories:\r\n\r\n| Category Name | Description |\r\n| --- | --- |\r\n| `System & Monitoring` | Real-time CPU, RAM, Network, and Disk usage dashboards |\r\n| `Dev Tools` | HTTP client, JSON viewer, Regex tester, Base64 encoder |\r\n| `Productivity` | Pomodoro timer, Notes manager, Todo list, Clipboard |\r\n| `DevOps` | SSH manager, Docker controller, Deployment helpers |\r\n| `AI & Chat` | Explain code and chat with AI (Hugging Face / OpenAI) |\r\n| `Customization` | Multiple themes (Dracula, Monokai) and config options |\r\n\r\n---\r\n\r\n## 🧠 Key Commands\r\n\r\nCommon utilities include:\r\n\r\n* `monitor` (System Resource TUI)\r\n* `http get/post` (API Tester)\r\n* `focus` (Pomodoro Timer)\r\n* `notes` (Markdown Manager)\r\n* `docker` (Container CLI)\r\n* `ai ask` (AI Coding Assistant)\r\n* `clipboard` (Copy/Paste Utils)\r\n* `regex` (Pattern Matcher)\r\n* `ticker` (Crypto/Stock Prices)\r\n\r\nEach command corresponds to **real daily productivity needs** such as checking disk space, generating secure passwords, deploying sites, or extracting JSON.\r\n\r\n---\r\n\r\n## 🏗️ Architecture & High-Level Design\r\n\r\nThe CLI uses a **modular command architecture** designed for extensibility:\r\n\r\n* `commander` for routing (e.g., `mycli <command>`)\r\n* Shared utility layer (`tui-engine.js`, `helpers.js`)\r\n* Command modules segregated by domain (e.g., `commands/network.js`)\r\n* Configurable styling using `chalk` and themes\r\n\r\n```mermaid\r\ngraph TD\r\n    User([User CLI Input]) --> Main[index.js Entry Point]\r\n    Main --> Commander[Commander.js Router]\r\n    \r\n    Commander -->|Registers| Config([Core Settings])\r\n    Commander -->|Registers| Utils([Developer Utilities])\r\n    Commander -->|Registers| Domain[Domain Commands]\r\n    \r\n    Domain --> TUI[TUI Engine]\r\n    Domain --> Helpers[Helper Functions]\r\n    Domain --> ExtAPI[External APIs]\r\n```\r\n\r\nThis architecture is lightweight, extensible, and well-suited for **rapid feature addition**.\r\n\r\n---\r\n\r\n## 🛡️ Enterprise Features\r\n\r\n* **Strict CI/CD Pipelines:** Automated matrix testing across Node 18, 20, and 22 via GitHub Actions.\r\n* **Security Auditing:** Zero-day package checks run automatically on every push via `npm audit`.\r\n* **Global Error Handling:** Application degradation is handled gracefully using `uncaughtException` intercepts—say goodbye to messy stack traces for end users.\r\n* **Component Segregation:** Logic separation into discrete modules makes the system inherently scalable.\r\n\r\n---\r\n\r\n## ⚙️ Requirements\r\n\r\n### 🐍 Node.js\r\n\r\n* **Node.js 18.x or higher (mandatory)**\r\n  > Newer versions with native fetch/test runner support are recommended.\r\n\r\n### 📦 Node Dependencies\r\n\r\nCore dependencies include:\r\n```txt\r\ncommander>=11.0.0\r\nchalk>=5.0.0\r\ninquirer>=9.0.0\r\naxios>=1.0.0\r\nblessed>=0.1.8\r\nblessed-contrib>=4.114.2\r\n```\r\n\r\nInstall all dependencies:\r\n```bash\r\nnpm install\r\n```\r\n\r\n---\r\n\r\n## 🛠️ Environment Setup\r\n\r\n### 1️⃣ Clone and setup\r\n\r\n```bash\r\ngit clone https://github.com/Adarsh16-30/CommandLineInterface.git\r\ncd CommandLineInterface\r\nnpm install\r\n```\r\n\r\n### 2️⃣ Verify Node version\r\n\r\n```bash\r\nnode --version\r\n```\r\n\r\nExpected:\r\n```text\r\nv18.x.x or higher\r\n```\r\n\r\n---\r\n\r\n## ▶️ How to Run\r\n\r\nOnce installed and dependencies are ready:\r\n\r\n```bash\r\nnpx mycli help-all\r\n```\r\n\r\nThe script will:\r\n* Load all 40+ commands\r\n* Display the organized help menu\r\n* Let you select and run interactive commands like `mycli monitor` or `mycli demo`\r\n\r\n---\r\n\r\n## 📈 Output Artifacts\r\n\r\nAfter running various commands, you will get:\r\n\r\n* `.mycli-config.json` → user configuration profile\r\n* `.mycli-notes/` → stored markdown notes\r\n* Terminal dashboards (TUI rendering)\r\n* Console metrics (Network speeds, CPU usage, etc.)\r\n\r\n---\r\n\r\n## 🧠 Why CLI Tools?\r\n\r\nDeveloper tasks are **text-based workflows** (deployments, file generation, API calls).\r\nCLIs naturally provide:\r\n* Speed and automation\r\n* Keyboard-only efficiency\r\n* Low resource overhead\r\n\r\nThis makes them the **industry-standard choice** for modern developer experience (DX).\r\n\r\n---\r\n\r\n## 🎯 Project Highlights (Resume-Ready)\r\n\r\n* Built an end-to-end Node.js CLI toolkit for developer workflows\r\n* Handled real-world system integrations (processes, network, disk)\r\n* Designed interactive Text User Interfaces (TUIs) using blessed-contrib\r\n* Implemented modular command architecture and plugin readiness\r\n* Focused on practical productivity rather than simple shell scripts\r\n\r\n---\r\n\r\n## 🚀 Possible Extensions\r\n\r\n* Global cloud syncing for configuration and notes\r\n* Multi-AI provider support (Anthropic, Gemini)\r\n* Rich interactive shell mode (REPL)\r\n* Cross-platform package publishing (Homebrew, APT)\r\n\r\n---\r\n\r\n## 📜 License & Notice\r\n\r\n* Code: Open for educational and research use (MIT License)\r\n\r\n---\r\n\r\n### ✅ Final Note\r\n\r\nThis project is designed to reflect **real modular JavaScript/Node architectures**, not just basic scripts.\r\nIf you can build and extend this end-to-end, you’ve already mastered many patterns that appear in real industry CLI apps.\r\n","readmeFilename":"README.md"}