feature_folder_cli 0.1.0 copy "feature_folder_cli: ^0.1.0" to clipboard
feature_folder_cli: ^0.1.0 copied to clipboard

outdated

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> -t <type>

Currently supporting only the getx type

Šī¸ 2022 Ryan Dsilva

42
likes
0
pub points
65%
popularity

Publisher

verified publisherryandsilva.dev

CLI utility that generates a folder structure to reduce the repetitive work required to setup directories for models, services, repositories, screens and widgets.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

ansicolor, args, mason, path, recase

More

Packages that depend on feature_folder_cli