v0.3.0
feature_folder_cli
CLI 工具,可產生資料夾結構,以減少設定模型、服務、儲存庫、畫面和組件所需的重複工作。
42喜歡 36近 30 天下載160Pub 分數
AndroidiOSmacOSWindowsLinux
CLI 工具,用於依功能檔案結構產生資料夾
以下為英文專案原文快照,最新內容請造訪 GitHub。
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
Make sure you are in the root of your project
ff generate -n <feature_name> -t <type> -p <path>
Currently supporting only the
simpleandgetxtypes