orbital_rapid_cli 1.0.0
orbital_rapid_cli: ^1.0.0 copied to clipboard
Generate Flutter splash/onboarding/auth flows with Riverpod, BLoC, or GetX
[Orbital Rapid CLI Logo]
๐ Orbital Rapid CLI #
[Orbital Rapid CLI Banner]
Generate production-ready Flutter auth & onboarding flows in seconds.
Supports Riverpod ยท BLoC ยท GetX ยท Firebase ยท REST API ยท Supabase
โจ What Is This? #
Orbital Rapid CLI is a command-line tool that scaffolds complete, production-ready Flutter application flows โ splash, onboarding, login, registration, forgot password, logout, and account deletion โ with your chosen state management and backend, in a single command.
[Orbital Rapid CLI Architecture]
No more copy-pasting boilerplate. No more spending the first week of every project writing the same screens.
orbitalRapid init
? Project name: awesome_app
? Package name: com.mycompany.awesome_app
? State management: Riverpod
? Backend: Firebase
? Screens: Splash, Onboarding, Login, Register, Forgot Password, Account Deletion
? Dark mode support: Yes
? Localization ready: Yes
โ ธ Generating project structure... โ
โ ธ Generating core utils... โ
โ ธ Generating theme system... โ
โ ธ Generating splash screen... โ
โ ธ Generating onboarding flow... โ
โ ธ Generating auth screens... โ
โ ธ Generating account screens... โ
โ ธ Injecting dependencies... โ
โ ธ Writing pubspec.yaml... โ
โ
47 files generated in 1.8 seconds
๐ Project ready at: ./awesome_app/
๐ Next: cd awesome_app && flutter pub get && flutter run
๐ฆ Installation #
Requires Dart SDK >=3.0.0.
dart pub global activate orbital_rapid_cli
Ensure your Dart pub global bin is in your PATH:
# Add to ~/.bashrc or ~/.zshrc
export PATH="$PATH":"$HOME/.pub-cache/bin"
Verify installation:
orbitalRapid --version
# Orbital Rapid CLI v1.0.0
๐ฏ Quick Start #
Option 1 โ Interactive (Recommended) #
# Navigate to where you want your project created
cd ~/projects
# Run interactive setup
orbitalRapid init
Follow the prompts. Takes about 30 seconds.
Option 2 โ Inline Flags (No Prompts) #
orbitalRapid init \
--name=awesome_app \
--package=com.mycompany.awesome_app \
--state=riverpod \
--backend=firebase \
--screens=all \
--dark-mode \
--l10n
Option 3 โ Config File #
# Use a saved config (great for teams)
orbitalRapid init --config=orbitalRapid.yaml
๐ฅ๏ธ Commands #
orbitalRapid init #
Scaffold a complete new project with selected flows.
orbitalRapid init [options]
Options:
--name Project name (snake_case)
--package Package identifier (com.company.app)
--state State management: riverpod | bloc | getx
--backend Backend: firebase | rest | supabase | none
--screens Comma-separated or 'all'
--dark-mode Include dark mode support
--l10n Include localization scaffolding
--dry-run Preview files without writing
--config Path to orbitalRapid.yaml config file
--output Output directory (default: ./<project-name>)
orbitalRapid add #
Add individual screens to an existing Flutter project.
orbitalRapid add <screen> [options]
# Examples
orbitalRapid add splash
orbitalRapid add login --state=bloc
orbitalRapid add onboarding --pages=4
orbitalRapid add account-deletion --backend=firebase
Screens: splash | onboarding | login | register |
forgot-password | logout | account-deletion
orbitalRapid upgrade #
Upgrade CLI to the latest version.
orbitalRapid upgrade
orbitalRapid --version #
Print current CLI version.
๐๏ธ Generated Project Structure #
awesome_app/
โ
โโโ lib/
โ โโโ core/
โ โ โโโ utils/ โ โ๏ธ CUSTOMIZE HERE
โ โ โ โโโ app_colors.dart
โ โ โ โโโ app_gradients.dart
โ โ โ โโโ app_text_styles.dart
โ โ โ โโโ app_fonts.dart
โ โ โ โโโ app_dimensions.dart
โ โ โ โโโ app_strings.dart
โ โ โ
โ โ โโโ theme/
โ โ โ โโโ app_theme.dart
โ โ โ โโโ app_dark_theme.dart
โ โ โ
โ โ โโโ constants/
โ โ โ โโโ app_assets.dart
โ โ โ โโโ app_routes.dart
โ โ โ โโโ app_enums.dart
โ โ โ
โ โ โโโ network/ โ (REST backend only)
โ โ โ โโโ api_client.dart
โ โ โ โโโ api_endpoints.dart
โ โ โ โโโ interceptors/
โ โ โ โโโ auth_interceptor.dart
โ โ โ โโโ logging_interceptor.dart
โ โ โ
โ โ โโโ services/
โ โ โโโ storage_service.dart
โ โ โโโ navigation_service.dart
โ โ โโโ auth_service.dart
โ โ
โ โโโ features/
โ โ โโโ splash/
โ โ โโโ onboarding/
โ โ โโโ auth/
โ โ โ โโโ login/
โ โ โ โโโ register/
โ โ โ โโโ forgot_password/
โ โ โโโ account/
โ โ
โ โโโ main.dart
โ
โโโ assets/
โ โโโ images/
โ โโโ icons/
โ โโโ fonts/
โ โโโ lottie/
โ
โโโ test/
โโโ pubspec.yaml
โโโ orbitalRapid.yaml
๐จ Customization (After Generation) #
Your only job after running the CLI:
| File | What to change |
|---|---|
app_colors.dart |
Your brand hex values |
app_fonts.dart |
Your font family name |
app_text_styles.dart |
Font sizes and weights |
app_dimensions.dart |
Spacing and radius values |
app_strings.dart |
All text content and copy |
app_gradients.dart |
Gradient colors |
app_assets.dart |
Image and icon paths |
Everything else โ every screen, every widget, every state class โ reads from these files automatically.
โ๏ธ State Management Support #
| Feature | Riverpod | BLoC | GetX |
|---|---|---|---|
| State classes | โ | โ | โ |
| Events | โ | โ | โ |
| Notifiers / Controllers | โ | โ | โ |
| Dependency injection | โ | โ | โ |
| Test generation | โ | โ | โ |
๐ Backend Support #
| Feature | Firebase | REST API | Supabase | None |
|---|---|---|---|---|
| Login | โ | โ | โ | Stub |
| Register | โ | โ | โ | Stub |
| Logout | โ | โ | โ | Stub |
| Forgot password | โ | โ | โ | Stub |
| Account deletion | โ | โ | โ | Stub |
| Token refresh | โ | โ | โ | โ |
| Social auth | โ | โ | โ | โ |
๐ค Contributing #
We welcome contributions! See CONTRIBUTING.md for guidelines.
Ways to contribute:
- ๐ Report bugs via GitHub Issues
- ๐ก Request features via Discussions
- ๐งฉ Add new screen templates
- ๐ Add new backend adapters
- ๐ Add localization support
- โ Write tests
๐ License #
MIT ยฉ Bony Yamin
Made with โค๏ธ for the Flutter community
โญ Star us on GitHub