param( [Parameter(Mandatory = $true)] [ValidateSet("lint", "format")] [string]$Task ) switch ($Task) { "lint" { uv run gdlint scripts } "format" { uv run gdformat scripts --check } }