FLUTTER ECOSYSTEM

xaldarof/project-structure-generator

O Gerador de Estrutura de Projeto economiza tempo e reduz a sobrecarga de configuração, permitindo que você se concentre na codificação.

Capa do projeto project-structure-generator
Stars
4
Forks
0
Último push (UTC)
7 de fev. de 2024
Status do projeto
Ativo
xaldarof GitHub avatar
GITHUB User

xaldarof ↗

bedroom
LinguagensDart

Tópicos técnicos

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 3 itens

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher 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