{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "clean-workdirs",
            "type": "process",
            "command": "pwsh",
            "args": [
                "-NoProfile",
                "-Command",
                "Get-ChildItem -Path '${workspaceFolder}/Data/${input:institute}/Tmp','${workspaceFolder}/Data/${input:institute}/Out' -ErrorAction SilentlyContinue | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue; exit 0"
            ],
            "problemMatcher": []
        },
        {
            "label": "normalize-output",
            "type": "process",
            "command": "pwsh",
            "args": [
                "-NoProfile",
                "-File",
                "${workspaceFolder}/normalize-output.ps1",
                "-Directory",
                "${workspaceFolder}/Data/${input:institute}/Out"
            ],
            "problemMatcher": []
        }
    ],
    "inputs": [
        {
            "id": "institute",
            "type": "promptString",
            "description": "Institut (z.B. R125)",
            "default": "R125"
        }
    ]
}