Private/OutputUtil.ps1
function Write-Section($Text) { $baseColor = [Console]::ForegroundColor [Console]::ForegroundColor = "Cyan" Write-Output "$Text" [Console]::ForegroundColor = $baseColor } function Write-OK($Text) { $baseColor = [Console]::ForegroundColor [Console]::ForegroundColor = "Green" Write-Output "> $Text" [Console]::ForegroundColor = $baseColor } function Write-Alert($Text) { $baseColor = [Console]::ForegroundColor [Console]::ForegroundColor = "Yellow" Write-Output "> $Text" [Console]::ForegroundColor = $baseColor } |