flutter_enterprise_cli 1.0.0
flutter_enterprise_cli: ^1.0.0 copied to clipboard
Enterprise-grade Flutter CLI tool for generating production-ready project scaffolding with clean architecture, multi-environment flavors, and CI/CD automation.
flutter_enterprise_cli #
Enterprise-grade Flutter CLI tool for generating production-ready project scaffolding with clean architecture, multi-environment flavors, and CI/CD automation.
✨ Features #
- 🏗 Clean Architecture folder structure
- 🔀 Android flavor automation (dev / prod)
- 🍎 iOS entrypoint configuration support
- 🚀 GitHub Actions CI/CD template
- 📦 Dev APK + Prod AAB builds
- 📱 Dev & Prod IPA generation (unsigned by default)
- 🛑 Prevents nested project creation
- 🛡 Safe project overwrite protection
- ⚙ CLI-based architecture generation
🚀 Installation #
dart pub global activate flutter_enterprise_cli
🛠 Usage #
flutter_enterprise_cli create my_app
Options #
flutter_enterprise_cli create my_app --state bloc --flavors dev,prod
Available State Management Options #
bloc(default)riverpod
📂 Generated Project Structure #
lib/
├── core/
│ ├── config/
│ ├── network/
│ ├── services/
│ ├── constants/
│ └── utils/
├── data/
├── domain/
├── presentation/
├── routes/
├── main_dev.dart
└── main_prod.dart
🔀 Android Flavors #
Run example:
flutter run --flavor dev -t lib/main_dev.dart
🍎 iOS Support #
- Generates
dev.xcconfigandprod.xcconfig - Supports IPA generation in CI
- Uses unsigned IPA by default (
--no-codesign)
🚀 CI/CD Included #
Generated project includes:
- Android build (APK + AAB)
- iOS build (IPA)
- Artifact upload
- Flutter analyze step
Workflow file:
.github/workflows/flutter_ci.yml
⚙ Requirements #
- Flutter 3.35.5+
- macOS required for iOS builds
- GitHub Actions for CI
📄 License #
MIT License