A simple tool for generating a file structure according to a configuration file.
There are currently two different ways of installing the application.
Through pip:
pip install file-structure-generator
Manually:
git clone https://github.com/mjalas/file-structure-generator.git
cd command-line-parser
python setup.py install
The application is installed under the name 'structure-generator'
The tool generates a folder structure based on a yaml configuration file, example below:
hierarchy:
parent:
- child1 :
- grandchild1 : ""
- grandchild2 : ""
- child2 :
- grandchild3 : ""
- child3 :
- grandchild4 : ""
- grandchild5 : ""
To generate the structure in the current location run the following command:
structure-generator -f <path/to/example>/example_structure.yml
To generate the structure to a different location run the following command:
structure-generator -f <path/to/example>/example_structure.yml -o <path/to/output/location>