getx_module_cli 1.0.1 copy "getx_module_cli: ^1.0.1" to clipboard
getx_module_cli: ^1.0.1 copied to clipboard

A CLI tool to generate GetX module structure (bindings, controllers, views, providers) for Flutter.

example/example.dart

/// Example usage of getx_module_cli tool programmatically (if needed).


void main() {
  // This is just a placeholder.
  //
  // getx_module_cli is a CLI tool, typically run from the terminal:
  //
  //    $ getx_module_cli <module_name>
  //
  // Example:
  //    $ getx_module_cli home
  //
  // This will generate the following structure under lib/modules/home/:
  //
  // ├── bindings/
  // │   └── home_binding.dart
  // ├── controllers/
  // │   └── home_controller.dart
  // ├── views/
  // │   └── home_view.dart
  // └── providers/
  //     └── home_provider.dart
  //
  // The generated files follow standard GetX practices for organizing
  // bindings, controllers, views, and service layers (providers).

  print('Run `getx_module_cli <module_name>` from your terminal.');
}
3
likes
150
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

A CLI tool to generate GetX module structure (bindings, controllers, views, providers) for Flutter.

Repository (GitHub)
View/report issues

Topics

#flutter #getx #cli #codegen

Documentation

API reference

License

MIT (license)

Dependencies

args

More

Packages that depend on getx_module_cli