# I built a Flutter CLI that generates Clean Architecture in seconds

> Source: <https://dev.to/flutterbysunny/i-built-a-flutter-cli-that-generates-clean-architecture-in-seconds-99l>
> Published: 2026-05-23 15:19:58+00:00

After 5+ years of Flutter development, I got tired of setting up the same boilerplate every project.
So I built SM CLI
dart pub global activate sm_cli
sm init my_app
cd my_app
sm make feature auth
sm make api
flutter run
✅ Clean Architecture (Data, Domain, Presentation)
✅ Riverpod, Bloc, GetX, Provider support
✅ GoRouter auto setup
✅ Dio API layer with interceptors
✅ Auto route generation
5 commands. Production-ready architecture. Done.
🔗 https://pub.dev/packages/sm_cli
⭐ https://github.com/flutterbysunny/sm_cli
Would love your feedback! 🙏
