Private/Configuration/ParamHelpers/BuildTreeLineStyle.ps1
function Build-TreeLineStyle { param ( [Parameter(Mandatory=$true)] [ValidateSet("ASCII", "Unicode")] [string]$Style ) $lineStyles = @{ ASCII = @{ Branch = "+----" VerticalLine = "| " LastBranch = "\----" Vertical = "|" Space = " " SingleLine = "-" } Unicode = @{ Branch = "├───" VerticalLine = "│ " LastBranch = "└───" Vertical = "│" Space = " " SingleLine = "─" } } return $lineStyles[$Style] } |