feature_folder_cli 0.2.0 icon indicating copy to clipboard operation
feature_folder_cli: ^0.2.0 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/
┃ â”Ŗ models/
┃ â”Ŗ repository/
┃ â”Ŗ services/
┃ ┗ index.dart
â”Ŗ screens/
┃ â”Ŗ feature_screen.dart
┃ ┗ index.dart
â”Ŗ widgets/
┃ â”Ŗ feature_component.dart
┃ ┗ index.dart
â”Ŗ providers/
┃ â”Ŗ feature_provider.dart
┃ ┗ index.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 simple and getx types

Šī¸ 2022 Ryan Dsilva

21
likes
140
pub points
70%
popularity

Publisher

verified publisher iconryandsilva.dev

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

Homepage

Documentation

Documentation
API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

ansicolor, args, mason, path

More

Packages that depend on feature_folder_cli