Files
wakapi-readme-stats/node_modules/vega-lite/bin/vl2png
2020-07-28 00:48:25 +05:30

10 lines
279 B
Bash
Executable File

#!/bin/bash
# Expects the path to a Vega-Lite specification as the first argument.
# Passes remaining arguments to vg2png using npx.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# only passes the first argument to vl2vg
$DIR/vl2vg $1 | npx -p vega vg2png '' ${@:2}