https://github.com/webiny/folderbuilder
Folder builder tool to help developers in the planning stage of their projects
https://github.com/webiny/folderbuilder
Last synced: 4 months ago
JSON representation
Folder builder tool to help developers in the planning stage of their projects
- Host: GitHub
- URL: https://github.com/webiny/folderbuilder
- Owner: webiny
- License: gpl-2.0
- Created: 2015-03-15T19:40:38.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-27T15:48:59.000Z (almost 11 years ago)
- Last Synced: 2025-03-26T18:05:20.233Z (over 1 year ago)
- Language: CSS
- Homepage: http://fb.webiny.com/
- Size: 533 KB
- Stars: 31
- Watchers: 16
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FolderBuilder
Folder builder tool to help developers in the planning stage of their projects
View live demo: http://fb.webiny.com/
## Using
You can use it directly via `structure.php`:
1. Read entire folder tree:
```
php structure.php /path/to/your/folder > myStructure.json
```
2. Limit depth to 2 subfolders:
```
php structure.php /path/to/your/folder 2 > myStructure.json
```
or install globally with Composer and use from anywhere:
```
composer global require webiny/folderbuilder
```
then use it on any folder:
```
wfb ~/Code > output.json
```
or limit depth:
```
wfb ~/Code 2 > output.json
```
## Contributing
Feel free to send PRs.
## License
MIT
## Todo
- generate folders and files from pre-existing JSON structure, not just the other way around
- a test or two?