diff --git a/README.md b/README.md index 7a7309c..2b60a8c 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/beffroi.sh b/beffroi.sh index 4f9506f..3608b48 100755 --- a/beffroi.sh +++ b/beffroi.sh @@ -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 diff --git a/reporter b/reporter index 7d428f7..b8cc88e 160000 --- a/reporter +++ b/reporter @@ -1 +1 @@ -Subproject commit 7d428f71d9d6650bba3d1773f6e03fcb24568544 +Subproject commit b8cc88e4af6223cee6369a38ed670dc811e2c518