This script generates a folder architecture for a project.
- Lua 5.3
lua folder_architecture_generator.lua <project_name> <example.md>
lua folder_architecture_generator.lua my_project example.md
- Create a folder architecture generator
- Create a file architecture generator
- Create a config file
- Create a config file generator
- Create a style guide generator 🚨🚨
.
╠══ 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]