This script reads the structure of your git project to create a markdown table of contents. You can use the output of this script to add a TOC to the README of your project.
Example folder structure:
.
├── Test
│ └── README.md
├── Test2
│ ├── README.md