cli_tree
A simple library that displays a set of defined nodes as a tree in the terminal
Example:
use TreeNode;
// This will print:
// Test Node
// ├─Child 1
// ├─Child 2
// │ ├─Child 2.1
// │ ├─Child 2.2
// │ ├─Child 2.3
// │ │ ├─Child 2.3.1
// │ │ └─Child 2.3.2
// │ └─Child 2.4
// │ ├─Child 2.4.1
// │ ├─Child 2.4.2
// │ └─Child 2.4.3
// └─Child 3
let mut node = new;
// add a single child
node.add_child;
// add a child with children which also have children
node.add_child;
// add another singular child
node.add_child;
println!;
Plans:
[X] Properly generate the tree
[-] Small optimizations
[-] Make it easier to generate nodes with many layers of children