Folder architecture generator

Lua

This script generates a folder architecture for a project.

Folder architecture generator

Description

This script generates a folder architecture for a project.

Requirements

  • Lua 5.3

Usage

lua folder_architecture_generator.lua <project_name> <example.md>

Example

lua folder_architecture_generator.lua my_project example.md

Project under development

  • [x] Create a folder architecture generator
  • [x] Create a file architecture generator
  • [x] Create a config file
  • [x] Create a config file generator
  • [ ] Create a style guide generator 🚨🚨

Example.md

    .
    ╠══ public/
    β•‘   β•šβ•β• [...example files]
    ╠══ src/
    β•‘   ╠══ components/
    β•‘   β•‘   ╠══ ButtonStyle/
    β•‘   β•‘   β•‘   ╠══ Button.test.tsx
    β•‘   β•‘   β•‘   ╠══ Button.style.tsx
    β•‘   β•‘   β•‘   β•šβ•β• index.tsx
    β•‘   β•‘   ╠══ Loading/
    β•‘   β•‘   β•‘   ╠══ Loading.test.tsx
    β•‘   β•‘   β•‘   ╠══ Loading.style.tsx
    β•‘   β•‘   β•‘   β•šβ•β• index.tsx
    β•‘   ╠══ functions/
    β•‘   β•‘   ╠══ fetchData.ts
    β•‘   β•‘   ╠══ localStorage.ts
    β•‘   β•‘   ╠══ parseUrl.ts
    β•‘   β•‘   β•šβ•β• __test__/
    β•‘   β•‘       β•šβ•β• functions.test.ts
    β•‘   ╠══ mocks/
    β•‘   β•‘   β•šβ•β• index.ts
    β•‘   ╠══ types/
    β•‘   β•‘   ╠══ children.ts
    β•‘   β•‘   ╠══ itemClothes.ts
    β•‘   β•‘   β•šβ•β• parseURL.ts
    β•‘   β•šβ•β• [...example files]
    β•šβ•β• [...config file]

image