FLUTTER ECOSYSTEM

xaldarof/project-structure-generator

プロジェクト構造ジェネレータは時間を節約し、セットアップの負担を軽減し、コード作成に集中できるようにします。

project-structure-generator のプロジェクト画像
Stars
4
Forks
0
最終プッシュ(UTC)
2024/02/07
プロジェクト状態
公開中
xaldarof GitHub avatar
GITHUB User

xaldarof ↗

bedroom
言語Dart

技術トピック

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 3 件

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

If you want to convert folders to .json file, for example

flutter pub run project_structure_generator:from_folders -root lib/ -output lib/output.json

-root - root dir

-output - output dir for .json file

If you want to convert json to folders, for example

flutter pub run project_structure_generator:to_folders -json lib/structure.json -output lib/

-output - output dir

-json - input json dir

See folder_structure.json in root path of project for example

Here is example json:

{
  "name": "project_lib",
  "type": "directory",
  "children": [
    {
      "name": "core",
      "type": "directory",
      "children": [
        {
          "name": "file.txt",
          "type": "file"
        },
        {
          "name": "file2.txt",
          "type": "file"
        }
      ]
    }
  ]
}

Will be generated

Alt Text