Invoke-DevCleanup.ps1
|
function Invoke-DevCleanup { [CmdletBinding()] param( [Parameter()] [string]$Path = (Get-Location).Path ) $CleanupScript = Join-Path $PSScriptRoot "Cleanup-DevXToolkit.ps1" if (-not (Test-Path $CleanupScript)) { throw "Cleanup engine missing: $CleanupScript" } . $CleanupScript -Path $Path Write-Host "✔ Cleanup complete" -ForegroundColor Green } |