Skip to content

webiny/FolderBuilder

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
css
 
 
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 

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
  1. 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?

About

Folder builder tool to help developers in the planning stage of their projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •