FLUTTER ECOSYSTEM

xaldarof/project-structure-generator

프로젝트 구조 생성기는 시간을 절약하고 설정 오버헤드를 줄여주어 코딩에만 집중할 수 있게 해줍니다.

project-structure-generator 프로젝트 이미지
Stars
4
Forks
0
최근 푸시(UTC)
2024. 2. 7.
프로젝트 상태
활성
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