thunder_cli 2.3.4+2 copy "thunder_cli: ^2.3.4+2" to clipboard
thunder_cli: ^2.3.4+2 copied to clipboard

This project is a Flutter application scaffolded with GetX and follows the MVC (Model-View-Controller) architecture.

⚡ Flutter GetX MVC Project #

This project is a Flutter application scaffolded with GetX ( BloC working in it ... ) and follows the MVC ( Model-View-Controller) architecture.

💻 How to Use Thunder CLI #

To streamline the process of creating project structures and modules, we've developed a command-line tool called Thunder CLI. It simplifies the setup of your Flutter project. Below are the available commands and their usage:

📌 Installation #

To install Thunder CLI, run the following command:

dart pub global activate thunder_cli
copied to clipboard

🧑🏻‍💻 Commands #

Usage #

To create and initialize a new Flutter project [ Folders and packages ] with Thunder CLI, use the following command:

thunder --init
copied to clipboard

This command will set up the following components for your project:

  • Main File
  • Components for Application (e.g., animated widgets, snackbar)
  • Themes (Dark and Light)
  • Constants (e.g., colors, strings)
  • Routes and App Pages
  • Local storage
  • Remote storage
  • Awesome Notification
  • FCM
  • Dio Base Client
  • Translations (e.g., localization service, strings)
  • Publish app to GitHub
  • Open the folder in VS code
  • Setup GitHub action
  • Setup flavor

To create a new Feature , use the following command:

thunder --feature
copied to clipboard

This command will set up the following components for your module:

  • Binding
  • Controller
  • View
  • Add view in routes and app pages

To create a new model via url (e.g., https://jsonplaceholder.typicode.com/posts), use the following command:

thunder --model
copied to clipboard

This command will set up the following components for your model:

  • Model
  • Named constructor
  • FromJson
  • ToJson
thunder --c_api
copied to clipboard

This command will auto convert api collection to code :

  • Read all variables from collection
  • Extract all request
  • Add all api routes to api_contents.dart
  • Build body model for all requests
  • Build response model for all requests
  • Build repos for all requests
  • Build basic controller for all requests

To show help, use the following command:

thunder --h
copied to clipboard

🏛️ Project Structure #

The project structure URL :

https://github.com/abdAlftahSalem/flutter_getx_template.git
copied to clipboard

Thunder CLI on pub.dev

📨 Contact with me #

Whats App || Telegram

Contributing #

Feel free to contribute to this project by opening issues, suggesting new features, or submitting pull requests.

License #

This project is licensed under the MIT License.


8
likes
130
points
351
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.08 - 2025.03.23

This project is a Flutter application scaffolded with GetX and follows the MVC (Model-View-Controller) architecture.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

args, dio, translator

More

Packages that depend on thunder_cli