From 1b3ca2e9dab1e37fe5c3cf3621328f19c228afe9 Mon Sep 17 00:00:00 2001 From: Michael Hohn Date: Wed, 9 Apr 2025 19:20:10 -0700 Subject: [PATCH] Add option MRVA_HEPC_DATAVIACLI, get hepc data using cli tool --- run-spigot.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 run-spigot.sh diff --git a/run-spigot.sh b/run-spigot.sh new file mode 100755 index 0000000..2a303ee --- /dev/null +++ b/run-spigot.sh @@ -0,0 +1,16 @@ +#!/bin/sh +# Usage: ./run-spigot.sh +# 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"