v0.3.0
feature_folder_cli
モデル、サービス、リポジトリ、スクリーン、ウィジェット用のディレクトリをセットアップするために必要な繰り返し作業を減らすために、フォルダ構造を生成するCLIユーティリティです。
42いいね 3630日間ダウンロード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