<# .SYNOPSIS j3270 Terminal Emulator - Setup and Build Script (PowerShell Entrypoint) Forwards execution directly to setup.ps1 with all supplied parameters. .DESCRIPTION See setup.ps1 for full implementation, parameter definitions, and documentation. #> [CmdletBinding()] param ( [switch]$Run, [switch]$Test, [switch]$Clean, [switch]$Help, [Parameter(ValueFromRemainingArguments = $true)] [string[]]$RunArgs ) $scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path if (-not $scriptDir) { $scriptDir = Get-Location } $ps1Script = Join-Path $scriptDir "setup.ps1" if (Test-Path $ps1Script) { & $ps1Script @PSBoundParameters @RunArgs } else { Write-Error "setup.ps1 not found in $scriptDir" exit 1 }