devboost-cli
v2.0.7
Published
A powerful CLI for developers.
Downloads
476
Readme
🚀 DevBoost CLI
🚀 Your Ultimate Productivity Booster for Developers
Simplifying day-to-day development tasks with a modern, feature-rich CLI tool.
🌟 Features
╭──────────────────────────────────────────────╮
│ ⚡ Project Scaffolding │
│ 📦 Dependency Management │
│ 🔧 Environment Management │
│ 🔄 Git Workflow Automation │
│ 🧪 API Testing Suite │
│ 📊 Monitoring & Analytics │
╰──────────────────────────────────────────────╯
🛠 Installation
# Install globally
npm install -g devboost-cli
# Verify installation
devboost --version
📖 Commands
🚀 Project Scaffolding
# Create a new React project
devboost init react --typescript --directory my-app
# Generate components with ease
devboost generate component MyComponent
📦 Dependency Management
# Add dependencies
devboost add axios
devboost add jest --dev
# Remove dependencies
devboost remove lodash
# Update all dependencies
devboost update
🔧 Environment Management
# Set environment variables
devboost env set API_URL=https://api.example.com
# List current environment variables
devboost env list
# Switch between environments
devboost env switch development
🔄 Git Workflow Automation
# Check git status
devboost git status
# Create a new branch
devboost git --branch feature/new-feature
# Commit with a custom message
devboost git --commit "feat: add new feature"
# Push changes to the remote repository
devboost git --push
🧪 API Testing
# Test GET request
devboost api --url https://api.example.com/users --method GET
# Test POST request with payload
devboost api --url https://api.example.com/users \
--method POST \
--data '{"name": "John Doe", "email": "[email protected]"}' \
--headers '{"Content-Type": "application/json"}'
🏗 Project Structure
devboost-cli/
├── src/
│ ├── commands/ # Command implementations
│ │ ├── api.js # API operations
│ │ ├── dependency.js # Package management
│ │ ├── env.js # Environment configuration
│ │ ├── git.js # Git commands
│ │ ├── init.js # Project scaffolding
│ │ └── index.js # Command registry
│ └── core/ # Core logic
│ ├── utils.js # Helper functions
│ └── config.js # Configuration settings
└── package.json # Project metadata
⚙️ Error Handling
try {
await executeCommand(command);
} catch (error) {
console.error(`[ERROR] ${error.message}`);
process.exit(1);
}
📦 Dependencies
{
"@angular/cli": "^19.0.2",
"@angular/core": "^19.0.1",
"axios": "^1.7.8",
"chalk": "^5.3.0",
"commander": "^9.5.0",
"dotenv": "^16.4.6",
"fs-extra": "^11.1.0",
"inquirer": "^9.2.3",
"ora": "^6.3.0",
"react": "^18.3.1"
}
🤝 Contributing
We welcome contributions! To contribute:
- Fork the repository
- Create a feature branch:
git checkout -b feature/awesome-feature
- Commit your changes:
git commit -m "feat: add awesome feature"
- Push to your branch:
git push origin feature/awesome-feature
- Create a Pull Request
📜 License
This project is licensed under the MIT License.
✨ Built with ❤️ for developers by developers. ✨
Achieve more, code less.