cd /news/developer-tools/i-built-a-flutter-cli-that-generates… · home topics developer-tools article
[ARTICLE · art-11802] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

I built a Flutter CLI that generates Clean Architecture in seconds

The article describes a new Flutter command-line tool called SM CLI, created by a developer with over five years of Flutter experience to automate the setup of Clean Architecture boilerplate. The tool can generate a full project structure with support for state management solutions like Riverpod and Bloc, along with GoRouter routing and a Dio API layer, using just five commands. It is available on pub.dev and GitHub for community feedback.

read1 min views22 publishedMay 23, 2026

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! 🙏

── more in #developer-tools 4 stories · sorted by recency
── more on @flutter 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-built-a-flutter-cl…] indexed:0 read:1min 2026-05-23 ·