thunder_cli
3.0.0, released 3 weeks ago by an unverified publisher
CLI tool to generate Flutter apps, features, API models, and translations.
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/postsAlternatives
Packages that do the same job and could replace thunder_cli.
- freezed
Code generation for immutable classes, tagged unions, and cloning without boilerplate.
96Compare - protoc_plugin
Generates Dart source files from Protocol Buffer (.proto) definitions using the protoc compiler.
80Compare - source_gen
Source code generation builders and utilities for the Dart build system.
84Compare - protobuf
Provides runtime support for Dart protocol buffer messages generated by protoc_plugin.
84Compare
Works with
Packages commonly used together with thunder_cli: ones it builds on, ones built on it, and its own family.
- archivethunder_cli depends on itEncodes and decodes archive and compression formats such as zip, tar, gzip, and zlib.
- argsthunder_cli depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- diothunder_cli depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.
- translatorthunder_cli depends on itFree, unofficial Google Translate API wrapper for Dart and Flutter.