FLUTTER ECOSYSTEM

RyanDsilva/feature_folder_cli

CLI 工具,用於依功能檔案結構產生資料夾

feature_folder_cli 專案封面
Stars
48
Forks
12
最近推送(UTC)
2025年11月17日
專案狀態
未封存
Ryan Dsilva GitHub avatar
GITHUB User

Ryan Dsilva ↗

Solutions Architect at AWS | Full Stack Engineer | Humor & NLP Research

Amazon Web ServicesSeattle, WA官方網站 ↗
語言Dart

技術主題

此儲存庫發佈的套件

使用的依賴

依賴清單 5 項

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

Folder by Feature CLI Utility :open_file_folder:

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 :wrench:

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