feature_folder_cli_plus 1.0.0 copy "feature_folder_cli_plus: ^1.0.0" to clipboard
feature_folder_cli_plus: ^1.0.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> -p <path>

Currently supporting the provider , getx , cubit and bloc types

Example Usage πŸ”§ #

ff generate -n Example -t provide -p features
ff generate -n Example -t getx -p features
ff generate -n Example -t cubit -p features
ff generate -n Example -t bloc -p features
5
likes
0
points
34
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

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

License

unknown (license)

Dependencies

ansicolor, args, mason, path

More

Packages that depend on feature_folder_cli_plus