turbo-dev-cli
v1.0.0
Published
π Advanced CLI toolkit for developers - file management, git automation, project scaffolding, code analysis and much more
Maintainers
Readme
π Turbo Dev CLI
The Ultimate CLI Toolkit for Modern Developers
npm install -g turbo-dev-cliInstallation β’ Features β’ Quick Start β’ Documentation β’ Contributing
π― What is Turbo Dev CLI?
Turbo Dev CLI is a comprehensive, all-in-one command-line toolkit designed to supercharge your development workflow. From file organization to deployment automation, from code analysis to database management - everything you need in one powerful CLI.
π Why Choose Turbo Dev CLI?
- π Productivity Boost: Automate repetitive tasks and focus on what matters
- π οΈ All-in-One: 12+ tools in a single CLI - no need for multiple packages
- π¨ Beautiful Interface: Colorful, intuitive output with progress indicators
- β‘ Lightning Fast: Optimized for speed and efficiency
- π§ Highly Configurable: Customize everything to match your workflow
- π Well Documented: Comprehensive guides and examples
β¨ Features
ποΈ File Management
- Smart file organization by type
- Bulk file operations
- Directory cleanup tools
- Duplicate file detection
πΏ Git Automation
- Interactive commit workflows
- Branch management
- Automated cleanup
- Git hooks integration
π Project Scaffolding
- 10+ professional templates
- Custom template creation
- Best practices included
- Framework-specific setups
π Code Analysis
- Code quality metrics
- Dependency analysis
- Performance insights
- Security recommendations
π³ DevOps Tools
- Docker configuration
- CI/CD pipeline setup
- Deployment automation
- Environment management
π Security & Utils
- Password generation
- API testing tools
- Database management
- Todo list integration
π¦ Installation
π Quick Install (Recommended)
# Install globally with npm
npm install -g turbo-dev-cli
# Start using immediately
turbo welcomeπ All Installation Methods
Global Installation (Recommended)
npm install -g turbo-dev-cliβ
Use turbo command anywhere
β
Best for daily development
β
Auto-updates available
No Installation (npx)
npx turbo-dev-cli [command]β
No global installation needed
β
Always uses latest version
β
Perfect for trying out
Yarn Global
yarn global add turbo-dev-cliβ
For Yarn users
β
Global access
Local Project Installation
npm install turbo-dev-cli
npx turbo [command]β
Project-specific version
β
Team consistency
β Verify Installation
# Check version
turbo --version
# See welcome screen
turbo welcome
# Get help
turbo --helpπ§ Requirements
- Node.js: 16.0.0 or higher
- npm: 7.0.0 or higher (comes with Node.js)
- Operating System: Windows, macOS, or Linux
π Quick Start
First time? Install with:
npm install -g turbo-dev-cli
1. Welcome Screen
turbo welcome2. Organize Your Files
# Preview what will be organized
turbo organize ~/Downloads --dry-run
# Actually organize files
turbo organize ~/Downloads --execute3. Create a New Project
turbo scaffold
# Choose from React, Vue, Node.js, Express, and more!4. Generate Secure Passwords
turbo password quick -c 5 -l 205. Analyze Your Code
turbo analyze codeπ Documentation
ποΈ File Organization
Automatically organize messy directories by file type:
# Basic usage
turbo organize [directory]
# Options
turbo organize ~/Downloads --dry-run # Preview changes
turbo organize . --execute # Apply changes
turbo org --help # Show all optionsSupported File Types:
- Images:
.jpg,.png,.gif,.svg,.webp - Documents:
.pdf,.doc,.txt,.md - Videos:
.mp4,.avi,.mkv,.mov - Audio:
.mp3,.wav,.flac,.aac - Archives:
.zip,.rar,.7z,.tar.gz - Code:
.js,.ts,.py,.java,.cpp
πΏ Git Helpers
Streamline your Git workflow:
turbo git quick # Interactive commit
turbo git info # Branch and commit info
turbo git clean # Clean merged branchesπ Project Scaffolding
Create professional projects instantly:
turbo scaffold # Interactive mode
turbo new # AliasAvailable Templates:
| Template | Description | Technologies | |----------|-------------|--------------| | Node.js API | RESTful API server | Express, ESLint, Nodemon | | React App | Modern React application | React 18, Vite, TypeScript | | Vue.js App | Vue 3 application | Vue 3, Composition API, Vite | | Next.js App | Full-stack Next.js | Next.js 14, TypeScript, Tailwind | | Express API | Express server | Express, Middleware, CORS | | TypeScript Library | NPM package template | TypeScript, Rollup, Jest | | CLI Tool | Command-line app | Commander.js, Inquirer |
π¨ Code Formatting
Format and beautify your code:
turbo format "**/*.{js,ts,json}" # Format specific files
turbo fmt --dry-run # Preview formatting
turbo fmt --execute # Apply formattingπ¦ Asset Optimization
Analyze and optimize your project:
turbo optimize images # Image size analysis
turbo optimize bundle # Bundle size analysis
turbo optimize perf # Performance metricsπ Password Generation
Generate secure passwords with customizable options:
turbo password generate # Interactive mode
turbo pwd quick -l 20 -c 5 # 5 passwords, 20 chars each
turbo pwd check # Check password strengthFeatures:
- Customizable length (4-128 characters)
- Character set selection (uppercase, lowercase, numbers, symbols)
- Strength analysis
- Bulk generation
- Safe symbols option
π Todo Management
Terminal-based todo list with priorities:
turbo todo add # Add new todo
turbo todo list # List all todos
turbo todo list --pending # Show only pending
turbo todo complete # Mark as completed
turbo todo clear # Clear completed todosπ Code Analysis
Advanced code quality and project analysis:
turbo analyze code # Code quality metrics
turbo analyze deps # Dependency analysis
turbo analyze perf # Performance analysis
turbo analyze all # Complete analysisAnalysis Features:
- Code complexity metrics
- TODO/FIXME comment detection
- Large file identification
- Console statement detection
- Dependency vulnerability check
- Bundle size optimization tips
π³ Docker Integration
Easy containerization setup:
turbo docker init # Interactive Docker setup
turbo docker status # Check Docker installationGenerated Files:
Dockerfile(optimized for your project type)docker-compose.yml(with database services)docker-compose.dev.yml(development environment).dockerignore(optimized exclusions)
ποΈ Database Tools
Database setup and management:
turbo database setup # Interactive database setup
turbo db migration # Create migration
turbo db seed # Create seed fileSupported Databases:
- PostgreSQL (with Sequelize)
- MySQL (with Sequelize)
- MongoDB (with Mongoose)
- SQLite (with Sequelize)
- Redis (connection setup)
π API Development
API testing and documentation tools:
turbo api test # Interactive API testing
turbo api docs # Generate API documentationDocumentation Formats:
- Markdown documentation
- OpenAPI/Swagger specification
- Postman collection
π’ Deployment
Deploy to popular platforms:
turbo deploy interactive # Interactive deployment
turbo deploy vercel # Deploy to Vercel
turbo deploy netlify # Deploy to Netlify
turbo deploy github # Setup GitHub Pages
turbo deploy docker # Create production DockerfileβοΈ Configuration
Global Configuration
Create ~/.turbo-config.json:
{
"defaultEditor": "code",
"gitAutoCommit": false,
"organizerRules": {
"images": [".jpg", ".png", ".gif", ".webp", ".svg"],
"documents": [".pdf", ".doc", ".docx", ".txt", ".md"],
"videos": [".mp4", ".avi", ".mkv", ".mov", ".wmv"],
"audio": [".mp3", ".wav", ".flac", ".aac", ".ogg"]
},
"passwordDefaults": {
"length": 16,
"includeSymbols": true,
"excludeSimilar": true
},
"scaffoldDefaults": {
"author": "Your Name",
"license": "MIT",
"gitInit": true
}
}Environment Variables
# Enable verbose logging
export TURBO_VERBOSE=true
# Custom config directory
export TURBO_CONFIG_DIR=~/.config/turbo
# Disable update notifications
export TURBO_NO_UPDATE_CHECK=trueπ¨ Examples
Complete Project Setup Workflow
# 1. Create new project
turbo scaffold
# 2. Setup database
turbo db setup
# 3. Setup Docker
turbo docker init
# 4. Analyze code quality
turbo analyze all
# 5. Setup deployment
turbo deploy interactiveFile Organization Workflow
# Organize Downloads folder
turbo organize ~/Downloads --execute
# Organize current project
turbo organize . --dry-run
turbo organize . --execute
# Organize with custom rules
turbo organize ~/Pictures --executeDevelopment Workflow
# Quick git workflow
turbo git quick
# Generate API documentation
turbo api docs
# Test API endpoints
turbo api test
# Deploy to production
turbo deploy vercelπ οΈ Development
Setup Development Environment
git clone https://github.com/turbodev/turbo-dev-cli.git
cd turbo-dev-cli
npm install
npm linkProject Structure
turbo-dev-cli/
βββ bin/
β βββ cli.js # Main CLI entry point
βββ src/
β βββ commands/ # Command implementations
β βββ analyze.js # Code analysis tools
β βββ api.js # API development tools
β βββ database.js # Database management
β βββ deploy.js # Deployment tools
β βββ docker.js # Docker integration
β βββ format.js # Code formatting
β βββ git.js # Git helpers
β βββ optimize.js # Asset optimization
β βββ organize.js # File organization
β βββ password.js # Password generation
β βββ scaffold.js # Project scaffolding
β βββ todo.js # Todo management
βββ package.json
βββ README.md
βββ LICENSERunning Tests
npm testLinting
npm run lintBuilding
npm run buildπ€ Contributing
We welcome contributions! Here's how you can help:
π Bug Reports
Found a bug? Please create an issue with:
- Clear description of the problem
- Steps to reproduce
- Expected vs actual behavior
- System information (OS, Node.js version)
π‘ Feature Requests
Have an idea? We'd love to hear it! Please include:
- Clear description of the feature
- Use case and benefits
- Possible implementation approach
π§ Pull Requests
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes
- Add tests if applicable
- Run linting:
npm run lint - Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Open a Pull Request
π Development Guidelines
- Follow existing code style
- Add JSDoc comments for new functions
- Update README for new features
- Add tests for new functionality
- Keep commits atomic and well-described
π Stats & Analytics
π Acknowledgments
Special thanks to these amazing projects that make Turbo Dev CLI possible:
- Commander.js - Command-line interface framework
- Chalk - Terminal string styling
- Inquirer.js - Interactive command line prompts
- Ora - Elegant terminal spinners
- Figlet - ASCII art text
- Boxen - Create boxes in terminal
π Support & Community
- π§ Email: [email protected]
- π Issues: GitHub Issues
- π¬ Discussions: GitHub Discussions
- π¦ Twitter: @TurboDevCLI
- π¬ Discord: Join our Discord
π Roadmap
v1.1.0 (Coming Soon)
- [ ] Plugin system for custom commands
- [ ] Configuration wizard
- [ ] More project templates
- [ ] Integration with popular IDEs
v1.2.0
- [ ] Cloud deployment integrations
- [ ] Advanced code metrics
- [ ] Team collaboration features
- [ ] Performance monitoring
v2.0.0
- [ ] Web dashboard
- [ ] AI-powered code suggestions
- [ ] Multi-language support
- [ ] Enterprise features
π License
This project is licensed under the MIT License - see the LICENSE file for details.
Made with β€οΈ by the Xaynx Team
Boost your development productivity with Turbo Dev CLI!
