Inspired by the tree command.
🌲 Generate a pretty text-based tree outline from a hierarchical list.