journal/run.sh
2024-11-07 08:58:38 +00:00

8 lines
193 B
Bash
Executable file

#!/usr/bin/env bash
set -eu
SCRIPT_DIR="$(cd -- "$(dirname -- "$0")" && pwd)"
cd "$SCRIPT_DIR"
${JQ:-jq} ${JQ_ARGS:-} -L "tool" -f tool/main.jq -Cr ${EXPORT_FILE:-export.json} --args -- "$@"