Skip to content
pubscout

thunder_cli

3.0.0, released 3 weeks ago by an unverified publisher

CLI tool to generate Flutter apps, features, API models, and translations.

$ flutter pub add thunder_cli
Source repository

What it does

Thunder CLI helps you bootstrap new Flutter applications with GetX, BLoC, or Cubit in seconds. It provides command-line generation for features, API models from JSON or endpoints, complete Postman collection code generation, and automated localizations.

AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to rapidly scaffold a new Flutter application with predefined architecture.
  • You need to quickly generate API models from JSON responses or Postman collections.
  • You want automated feature generation supporting GetX, BLoC, or Cubit state management.

Skip it when

  • You are maintaining an existing custom architecture that does not conform to Thunder's templates.
  • You prefer manual setup and dependency injection configuration.

Strengths

  • Supports multiple state management options (GetX, BLoC, Cubit).
  • Generates models, routes, dependencies, and translations from the command line.
  • Can parse Postman collections to build entire APIs, repositories, and state handlers.

Weaknesses

  • Enforces a specific folder structure and template architecture.
  • Translations rely on Google Translate and require manual review.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
5

Install globally via Dart pub: `dart pub global activate thunder_cli`, and ensure Flutter is installed.

thunder init shop_app --state bloc
thunder feature product_details
thunder model --name post --url https://jsonplaceholder.typicode.com/posts

Alternatives

Packages that do the same job and could replace thunder_cli.

  • freezed

    Code generation for immutable classes, tagged unions, and cloning without boilerplate.

  • protoc_plugin

    Generates Dart source files from Protocol Buffer (.proto) definitions using the protoc compiler.

  • source_gen

    Source code generation builders and utilities for the Dart build system.

  • protobuf

    Provides runtime support for Dart protocol buffer messages generated by protoc_plugin.

Works with

Packages commonly used together with thunder_cli: ones it builds on, ones built on it, and its own family.