Add option MRVA_HEPC_DATAVIACLI, get hepc data using cli tool
This commit is contained in:
committed by
=Michael Hohn
parent
0b82dab461
commit
1b3ca2e9da
16
run-spigot.sh
Executable file
16
run-spigot.sh
Executable 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"
|
||||
Reference in New Issue
Block a user