feature_folder_cli 0.0.2 copy "feature_folder_cli: ^0.0.2" to clipboard
feature_folder_cli: ^0.0.2 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>

©️ 2021 Ryan Dsilva

42
likes
0
points
39
downloads

Publisher

verified publisherryandsilva.dev

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

Documentation

Documentation

License

unknown (license)

Dependencies

ansicolor, args, flutter, path, recase

More

Packages that depend on feature_folder_cli