Expose consumables report command
Beffroi Reporting CI All checks passed and encrypted report archives were built.
Beffroi/beffroi-reporting/pipeline/head This commit looks good Details
Vky/beffroi-reporting/pipeline/head This commit looks good Details

This commit is contained in:
Dandaedre 2026-09-17 16:03:25 +02:00
parent 2b277586e0
commit db0ba0991a
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
3 changed files with 11 additions and 1 deletions

View File

@ -10,6 +10,7 @@ and publishes the results.
./beffroi.sh bootstrap
./beffroi.sh report reports/reports/2026-09-04-clevo-handoff.yaml /tmp/report.pdf
./beffroi.sh diagnostic-pdf reports/diagnostics/windows_system_report_DESKTOP-SAU019H_20260915_121057.json /tmp/diagnostic.pdf
./beffroi.sh consumables reporter/plugins/consumables/tests/fixtures/sample.csv /tmp/consumables.pdf
./beffroi.sh test
./beffroi.sh all build/publication --replace
```

View File

@ -6,6 +6,7 @@ usage() {
cat <<'EOF'
Usage:
./beffroi.sh report INPUT.yaml|json OUTPUT.pdf [--force]
./beffroi.sh consumables INPUT.csv OUTPUT.pdf [--force] [--theme NAME]
./beffroi.sh diagnostic-pdf CAPTURE.json OUTPUT.pdf
./beffroi.sh capture-pdf CAPTURE OUTPUT.pdf
./beffroi.sh diagnostic CAPTURE EVIDENCE_ROOT OUTPUT_DIR REFERENCE_TIME [AUTHOR] [THEME]
@ -38,6 +39,14 @@ case "$command_name" in
shift 2
reporter/build.sh render report "$report_input" --output "$report_output" "$@"
;;
consumables)
(($# >= 2)) || usage 2
require typst
consumables_input=$1
consumables_output=$2
shift 2
reporter/build.sh render consumables "$consumables_input" --output "$consumables_output" "$@"
;;
diagnostic-pdf)
[[ $# -eq 2 ]] || usage 2
require typst

@ -1 +1 @@
Subproject commit 7d428f71d9d6650bba3d1773f6e03fcb24568544
Subproject commit b8cc88e4af6223cee6369a38ed670dc811e2c518