beffroi-reporting/scripts/render-capture.sh

7 lines
279 B
Bash
Executable File

#!/usr/bin/env bash
# Render the raw WinDiagnostics capture with the diagnostic Typst plugin.
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")/.."
[[ $# -eq 2 ]] || { echo "Usage: $0 CAPTURE OUTPUT.pdf" >&2; exit 2; }
reports/plugins/diagnostics/render.sh "$1" --output "$2"