Expose consumables report command
This commit is contained in:
parent
2b277586e0
commit
db0ba0991a
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
2
reporter
2
reporter
|
|
@ -1 +1 @@
|
|||
Subproject commit 7d428f71d9d6650bba3d1773f6e03fcb24568544
|
||||
Subproject commit b8cc88e4af6223cee6369a38ed670dc811e2c518
|
||||
Loading…
Reference in New Issue