feature_folder_cli 0.0.2 feature_folder_cli: ^0.0.2 copied to clipboard
CLI utility that generates a folder structure to reduce the repetitive work required to setup directories for models, services, repositories, screens and widgets.
Folder by Feature CLI Utility đ #
A Dart CLI tool that generates the folder structure for the folder-by-feature pattern. This tool helps to reduce the repetitive work required to setup directories for models, services, repositories, screens and widgets.
The folder structure generated by the cli is as follows:
feature/
âŖ domain/
â âŖ feature_model.dart
â âŖ feature_repository.dart
â âŖ feature_service.dart
â â feature_domain.dart
âŖ screens/
â âŖ feature_screen.dart
â â screens.dart
âŖ widgets/
â âŖ feature_widget.dart
â â widgets.dart
âŖ providers/
â âŖ feature_provider.dart
â â providers.dart
â index.dart
Command Usage đ§ #
Make sure you are in the root of your project
ff generate -n <feature_name>
Šī¸ 2021 Ryan Dsilva