@ubaid_ullah/dev-ai-cli
v1.0.1
Published
AI-powered Developer Toolkit CLI for code review, security analysis, optimization, and code explanation.
Maintainers
Readme
🚀 DevAI CLI
AI-powered Developer Toolkit built with TypeScript and Google Gemini.
✨ Features
- 🤖 AI Code Review
- 📖 Explain Source Code
- 🔒 Security Analysis
- ⚡ Performance Optimization
- 📄 Markdown Report Export
- 🧩 Smart File Chunking
- 🎨 Beautiful CLI Output
📦 Installation
git clone https://github.com/YOUR_USERNAME/dev-ai-cli.git
cd dev-ai-cli
npm install🔑 Environment Variables
Create a .env file.
GEMINI_API_KEY=your_api_key_here🚀 Build
npm run build💻 Development
npm run dev -- review .📚 Commands
Review
dev-ai review .Reviews the entire project.
Explain
dev-ai explain src/index.tsExplains a file.
Security
dev-ai security .Finds security issues.
Optimize
dev-ai optimize .Suggests performance improvements.
📁 Project Structure
src
├── ai
├── commands
├── services
├── ui
├── utils
└── index.ts🛠 Tech Stack
- TypeScript
- Node.js
- Commander
- Google Gemini API
- Ora
- Chalk
- Boxen
📌 Roadmap
- [x] Review Command
- [x] Explain Command
- [x] Security Command
- [x] Optimize Command
- [x] Smart Chunking
- [x] Analyzer Service
- [ ] HTML Export
- [ ] JSON Export
- [ ] Unit Tests
- [ ] npm Publish
🤝 Contributing
Contributions are welcome.
Fork the repository and submit a Pull Request.
📄 License
MIT
