RyanDsilva / feature_folder_cli

CLI utility that generates folder by feature file structure

Home Page:https://pub.dev/packages/feature_folder_cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 only the simple and getx types

About

CLI utility that generates folder by feature file structure

https://pub.dev/packages/feature_folder_cli

License:MIT License


Languages

Language:Dart 100.0%