Add option MRVA_HEPC_DATAVIACLI, get hepc data using cli tool

This commit is contained in:
Michael Hohn
2025-04-09 19:20:10 -07:00
committed by =Michael Hohn
parent 0b82dab461
commit 1b3ca2e9da

16
run-spigot.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
# Usage: ./run-spigot.sh <refroot-dir> <out-dir> <tool-name>
# To be used with ./spigot-cli.go
set -eu
REFROOT_DIR="$1"
OUT_DIR="$2"
TOOL_NAME="$3"
cd "$REFROOT_DIR" && \
dpkg-refroot-env \
spigot-cli bulk-download-results \
--tool-name "$TOOL_NAME" \
--metadata-only all \
> "$OUT_DIR/spigot-results.json"