Releases: flutterbysunny/sm_cli
What's New in v1.0.8
Added
- Generate multiple features in one command!
sm make feature my_app auth home profile
Creates all three features at once:
✅ auth — data, domain, presentation
✅ home — data, domain, presentation
✅ profile — data, domain, presentation
All Commands
sm init my_app
sm make feature my_app auth home profile
sm make api my_app
sm list my_app
sm remove feature my_app auth
Install / Upgrade
dart pub global deactivate sm_cli
dart pub global activate sm_cli
🔗 pub.dev: https://pub.dev/packages/sm_cli
⭐ GitHub: https://github.com/flutterbysunny/sm_cli
What's New in v1.0.6
Fixed
- Feature folder now generates correctly —
features/auth/notfeatures/my_app/. - Commands now work from outside the project folder
Changed
- No need to
cdinto the project — run all commands from anywhere - Project name required in all commands
Usage
sm init my_app
sm make feature my_app auth
sm make api my_app
sm list my_app
cd my_app && flutter run
Install / Upgrade
dart pub global deactivate sm_cli
dart pub global activate sm_cli
🔗 pub.dev: https://pub.dev/packages/sm_cli
⭐ GitHub: https://github.com/flutterbysunny/sm_cli
v1.0.5 — sm list, Validation & Overwrite Protection
What's New in v1.0.5
Added
sm list— see all features in your project at a glance- Feature name validation — only snake_case allowed
- Overwrite protection — warning if feature already exists
Quick Start
sm init my_app
cd my_app
sm make feature auth
sm make api
sm list
Install / Upgrade
dart pub global activate sm_cli
🔗 pub.dev: https://pub.dev/packages/sm_cli
⭐ GitHub: https://github.com/flutterbysunny/sm_cli
v1.0.4 — Improved Boilerplate Generation
What's New in v1.0.4
✅ Fixed
sm make featureandsm make apinow only work inside the project folder- Feature name now generates correctly
Improved Boilerplate
model—fromJsonandtoJsonauto-generatedusecase—call()method auto generatedremote_datasource— basic Dio structure auto-generatedrepository_impl— commented hints for easy implementation
Quick Start
sm init my_app
cd my_app
sm make feature auth
sm make api
flutter run
📦 Install / Upgrade
dart pub global activate sm_cli
v1.0.3 — Project Name Optional + Bug Fixes
🚀 What's New in v1.0.3
✅ Fixed
sm make feature auth— ab project name optional hai,cd my_appke baad seedha feature name dosm make api— project name ke bina bhi kaam karta hai- GetX ke liye
screensfolder bhi generate hota hai
📦 Installation
dart pub global activate sm_cli
⚡ Quick Start
sm init my_app
cd my_app
sm make feature auth
sm make api
flutter run
🔄 Upgrade
dart pub global deactivate sm_cli
dart pub global activate sm_cli
v1.0.0 — Stable Release
First stable release of SM CLI!
What's New
- Flutter project initializer with clean architecture
- Riverpod, Bloc, GetX, Provider support
- Feature generator with auto state management detection
- API layer generator (Dio + interceptors)
- GoRouter with auto route generation
- Light & dark theme (Material 3)
- Project config auto-saved
Installation
dart pub global activate sm_cli
Quick Start
sm init my_app
sm make feature my_app auth
sm make api my_app