getx_module_cli 1.0.1
getx_module_cli: ^1.0.1 copied to clipboard
A CLI tool to generate GetX module structure (bindings, controllers, views, providers) for Flutter.
/// 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.');
}