getx_clean_arch 0.0.7
getx_clean_arch: ^0.0.7 copied to clipboard
A CLI tool for scaffolding and managing Flutter projects with GetX and Clean Architecture.
0.0.7 #
- Router & GetX Integration:
initcommand now always adds thegetdependency, fulfilling the requirement for state management even when using GoRouter.create:featurenow automatically registers new features inapp_pages.dartandapp_routes.dartfor both GetX and GoRouter.
- Enhanced Flavorizr setup:
- Moved
flutter_flavorizrtodev_dependencies. - Automatically runs
flutter pub getafter appending flavorizr configuration to ensure the environment is ready. - Uses non-interactive execution (
yes | dart run flutter_flavorizr) to improve automation reliability. - Improved error reporting and logging for flavorizr execution.
- Moved
- Template Fixes:
- Fixed GoRouter
app_pages.darttemplate to correctly importapp_routes.dartand removed redundantRoutesclass definition.
- Fixed GoRouter
0.0.6 #
- Router Selection:
initcommand now supports--router(-r) option to choose betweengetx(default) andgo(GoRouter).- Added GoRouter templates:
app_routes.dart,app_pages.dart, andapp.dartwithMaterialApp.router.
- Enhanced Dependencies:
initcommand now automatically addsflutter_localizations(SDK),firebase_core, andgoogle_fonts.- Router-specific dependency:
getfor GetX orgo_routerfor GoRouter.
- Bug Fix:
- Fixed path resolution issue when creating new projects - now uses absolute path to ensure all commands run correctly in the new project directory.
0.0.5 #
- Theme Generation:
initcommand now generateslib/common/themes/withm_color.dart,m_text_theme.dart,m_theme.dart.- Includes complete light/dark theme configuration with Material 3 and GoogleFonts support.
- Firebase & Flavorizr Setup:
initcommand now creates.firebase/dev/and.firebase/prod/withgoogle-services.jsonandGoogleService-Info.plistplaceholders.- Generates
lib/firebase_options.dartwith flavor-aware configuration. - Automatically appends
flavorizrconfiguration topubspec.yaml. - Runs
flutter pub run flutter_flavorizrafter setup.
- Cleanup:
- Removed unused
lib/core/stylefolder generation.
- Removed unused
0.0.4 #
- App Entry Point Generation:
initcommand now generateslib/app.dartwithGetMaterialAppconfiguration.initcommand now overwriteslib/main.dartwith proper service initialization template.- Supports automatic package name detection from
pubspec.yaml.
0.0.3 #
- Router Support:
initcommand now generateslib/routeswithapp_routes.dartandapp_pages.dart.create:featureautomatically registers new pages and routes in the Router files.
0.0.2 #
- Enhanced Init Command:
- Added support for creating a new Flutter project from scratch:
getxcli init <project_name>. - Automatically adds
get,dio,flutter_flavorizrdependencies. - Configures Clean Architecture structure in the new project.
- Added support for creating a new Flutter project from scratch:
0.0.1 #
- Initial Release:
- Project Scaffolding:
initcommand to setup Clean Architecture structure (Core, DI, Theme). - Feature Generation:
create:featurecommand to generate Modules (Bindings, Controllers, Pages, Models, Widgets). - Asset Management:
generate:assetscommand to scan and generate type-safe asset constants. - Utilities:
refresh: Shortcut forflutter clean && flutter pub get.git:branch: Shortcut for creating new git branches.run:flavor: Shortcut for running specific environment flavors.
- Router Support: Integrated with GetX router.
- Project Scaffolding: