feature_folder_cli 0.0.4
feature_folder_cli: ^0.0.4 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

3
likes
120
pub points
0%
popularity

Publisher

ryandsilva.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
API reference

License

BSD-3-Clause (LICENSE)

Dependencies

ansicolor, args, flutter, path, recase

More

Packages that depend on feature_folder_cli