contree
v1.0.0
Published
File tree text generation utility
Downloads
4
Readme
contree
File tree text generation utility
Usage
The GenerateTreeText
function takes a title and tree. The title is a string, while the tree is an array containing either strings (entries) or another array (sub tree).
Example
In this example, the tree is titled "Test Tree"
GenerateTreeText("Test Tree", [
"start",
"a",
["b", "c", "d"],
"e",
"f",
["g", "h", "i", ["j", "k", "l"]],
"end",
]);
🗄️ Test Tree
├── start
├── a
├── 📂 b
│ ├── c
│ └── d
├── e
├── f
├── 📂 g
│ ├── h
│ ├── i
│ └── 📂 j
│ ├── k
│ └── l
└── end