You've already forked wakapi-readme-stats
10 lines
279 B
Bash
Executable File
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 vg2svg using npx.
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
# only passes the first argument to vl2vg
|
|
$DIR/vl2vg $1 | npx -p vega vg2svg '' ${@:2}
|