FLUTTER ECOSYSTEM

xaldarof/project-structure-generator

Project Structure Generator saves time and reduces setup overhead, allowing you to focus on coding.

project-structure-generator project cover
Stars
4
Forks
0
Last push (UTC)
Feb 7, 2024
Project status
Active
xaldarof GitHub avatar
GITHUB User

xaldarof ↗

bedroom
LanguagesDart

Technical topics

Packages published by this repository

Dependencies used

Dependency list 3 items

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project 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