webiny/folderbuilder
最新稳定版本:1.0
Composer 安装命令:
composer require webiny/folderbuilder
包简介
FolderBuilder turns existing directory trees into JSON for use on http://fb.webiny.com
README 文档
README
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:
- Read entire folder tree:
php structure.php /path/to/your/folder > myStructure.json
- 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?
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 31
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-04